Siduction Forum

Siduction Forum => Software - Support => Topic started by: OppaErich on 2017/12/09, 17:37:22

Title: Gnome - USB Sticks Read only
Post by: OppaErich on 2017/12/09, 17:37:22
Hi,


why does Nautilus mount USB drives read-only and how can I fix this ? Dunno what happened, this worked without a problem before.


Boy, am I pissed. Wasted a full day trying to split a 2h mp4 into 3 parts. Didn't work and now I can't port it to Windows and give MovieMaker a try...  >:(


Have a nice weekend,
Stephan
Title: Re: Gnome - USB Sticks Read only
Post by: axt on 2017/12/09, 18:07:32
That's intent. You have to unmount the stick before you could unplug.
Title: Re: Gnome - USB Sticks Read only
Post by: der_bud on 2017/12/09, 18:41:20
"...port to windows..." - is that stick fat/ntfs? In which groups is your user? What are the owner/group permissions of the directory /media/yourusername/ ? Is ntfs-3g installed with the tool 'ntfs-config' ?
Title: Re: Gnome - USB Sticks Read only
Post by: OppaErich on 2017/12/10, 13:46:19
Code: [Select]

oppa@oppa-hex-ssd:~$ ls -l /media/oppa/
total 4880758
-rw-r--r--  1 root root 4997882140 Dez  9 17:29 206953166-81529952-05e59401-8250-461b-8400-0908b7f03bd8.mp4
dr-x------  1 oppa oppa       2048 Nov 28  2012 ISO
drwxr-xr-x 15 oppa oppa       4096 Jan  1  1970 Transcend

oppa@oppa-hex-ssd:~$ apt policy ntfs-3g
ntfs-3g:
  Installed: 1:2017.3.23-2
  Candidate: 1:2017.3.23-2
  Version table:
 *** 1:2017.3.23-2 500
        500 http://ftp.de.debian.org/debian unstable/main amd64 Packages
        100 /var/lib/dpkg/status
oppa@oppa-hex-ssd:~$ mount
...

/dev/sdk1 on /media/oppa/Transcend type vfat (ro,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=utf8,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
uid/gid 1000 is me, oppa


Why is the filesystem of importance ? It worked fine no matter what fs.
Title: Re: Gnome - USB Sticks Read only
Post by: unklarer on 2017/12/10, 14:00:31
there was a recent warning about udisks2
so I put it on hold
I don't know if it's connected to that.

besides tha
Code: [Select]
...=udisks2)
Title: Re: Gnome - USB Sticks Read only
Post by: OppaErich on 2017/12/10, 16:26:14
I've tried this with my Fedora installation -> same problem. And this wasn't updated for a month, at least.


I found something about running dosfsck and tried that. dosfsck found and corrected some stuff but it still gets read-only access. Well, I guess I have to re-download that 5G file...  :(
Title: Re: Gnome - USB Sticks Read only
Post by: der_bud on 2017/12/10, 21:25:16
Before downloading a second time on a slow connection, have you tried to work as root in terminal? Such as remounting the stick with -o rw, or creating a directory as root and copy the file? Windows should not bother who owned the file on linux.

(OT, splitting large videos with ffmpeg worked for me always like this: https://stackoverflow.com/a/35133730)
Title: Re: Gnome - USB Sticks Read only
Post by: OppaErich on 2017/12/11, 14:43:18
Hi,


you asked for the group memberships too. Sorry.
Code: [Select]

oppa@oppa-hex-ssd:~$ groups
oppa lp dialout cdrom floppy sudo audio dip video plugdev users fuse netdev systemd-journal scanner
Nope, didn't try any root console voodoo. :) And ffmpeg showed up during my searching too, something like starttime and duration. I was too lazy to do the math and I think writing to vfat usb drives HAS TO work.


Thanks,
Stephan


PS: MovieMaker was really easy: Open file, set marker (left mouse click), click on split button - done.
Title: Re: Gnome - USB Sticks Read only
Post by: OppaErich on 2017/12/11, 16:53:28
LOL  :o


Do the same thing over and over again and expect a different outcome eventually.


Just tried again and now it works. File is being copied.


Have fun,
Stephan


PS: Well, I did a d-u yesterday, maybe the fix was in there.