You are not logged in.
I was struggling with messed up mount options / mount errors with gnome `disks` with my external USB drive and at one point I issued
chown -R <myusername> /mnt/S_50while the partition was mounted to remove `root` ownership imposed by parted magic live (the partition contains clonezilla backups etc.). Now the directories on the partition are displayed and treated as binary files and are inaccessible. I can `cd` into them as root though.
Also, the S_WIN10 (NTFS partition) is completely inaccessible in nautilus - the error message says I don't have permissions even to view it.
The relevant drive partitions are labeled S_*
The HIT_* partitions automount fine, with read/write permissions.
I've set permissions for /mnt directories with the disk disconnected. They are:
# ls -l /mnt
total 24
drwx------ 22 hg1 hg1 4096 Mar 19 19:33 HIT_160
drwx------ 12 hg1 hg1 4096 Mar 12 19:20 HIT_262
drwxrwxrwx 2 hg1 hg1 4096 Mar 22 09:40 S_140
drwxrwxrwx 2 hg1 hg1 4096 Mar 22 09:40 S_50
drwxrwxrwx 2 hg1 hg1 4096 Mar 22 09:40 S_740
drwxrwxrwx 2 hg1 hg1 4096 Mar 22 09:39 S_WIN10But after I connect the drive, reboot (the partitions get mounted) the permissions turn into
# ls -l /mnt
total 100
drwx------ 22 hg1 hg1 4096 Mar 19 19:33 HIT_160
drwx------ 12 hg1 hg1 4096 Mar 12 19:20 HIT_262
drw-rw-rw- 11 hg1 hg1 4096 Mar 6 19:54 S_140
drw-rw-rw- 4 hg1 root 4096 Nov 14 18:42 S_50
drwxr-xr-x 15 hg1 root 4096 Mar 21 18:27 S_740
dr-x------ 1 root root 81920 Mar 8 19:43 S_WIN10/etc/fstab
/dev/disk/by-label/S_50 /mnt/S_50 auto defaults,nofail,x-gvfs-show,rw 0 0
/dev/disk/by-label/S_140 /mnt/S_140 auto defaults,nofail,x-gvfs-show,rw 0 0
/dev/disk/by-label/S_740 /mnt/S_740 auto defaults,nofail,x-gvfs-show,rw 0 0
/dev/disk/by-label/S_WIN10 /mnt/S_WIN10 auto defaults,nofail,x-gvfs-show,rw 0 0If you decide to reply please limit the solutions to regular mount, fstab, gnome disks without resorting to udev rules as they are far too complicated to me at this point.
Last edited by bbarcher (2014-03-22 10:21:18)
Put up or shut up.
--Austin Meyer, the lead developer of X-Plane
[ url=http://... ] Text [ /url ]
Offline