I need to pull about 13GB worth of data off my Ubuntu 16.04 box. I'm running xfce via Recovery mode. When I plug in my usb drive it mounts as read-only. So I do:
$ df -h
...
/dev/sdb3 ... /media/user/backup_drive
$ sudo umount /dev/sdb3
$ sudo mount -o rw,users,umask=000 /dev/sdb3 /media/user
These commands succeed. If I cd
into /media/user
I can see the files on the drive. But if I try to modify the file system in any way I get a permissions denied error. For example:
$ cd /media/user
$ touch newfile
touch: cannot touch 'newfile': Read-only file system
$ sudo touch newfile
touch: cannot touch 'newfile': Read-only file system
If from the xfce desktop I right-click on the volume icon and select Properties I see this:
Owner: 99
Access: Read & Write
Group: 99
Access: Read & Write
Others: Read only
Is it the "Others" permissions that's causing me grief? Any suggestions would be much appreciated.
/dev/sdb3
? FAT32 or NTFS or some other file system? – sudodus Jul 29 '17 at 15:55pathlld
tool https://github.com/waltinator/pathlld.git - Bash script to answer "Why can't I read/write that file?" – waltinator Jul 29 '17 at 16:2099
? What is the output ofgrep 99 /etc/group
? How was owner99
created? I do not recognize it as one of Ubuntu's standard users or groups. How was the file system of/dev/sdb3
in the external drive created? – sudodus Jul 29 '17 at 17:27