(Ok, originally asked this on StackOverflow, got it downvoted with a suggestion to post on SuperUser, where I got a hint (but no luck) with using FUSE to mount media. As serverfault seems to have the most on this, I figured I'd try here...)
(Ubuntu 14.04) I have user 'frances' that is a member of group 'pc', but cannot cd into a directory called pc, owned by pc and with executable permissions for group pc - 'permission denied'.
This should be amazingly simple. Can someone point out exactly what this idiot (me) is doing wrong? Here's a quick run-through, trying access as both 'pc' and 'frances':
pc@Samsung:/media$ ll // check dir with user 'pc' total 12 drwxr-xr-x 3 root root 4096 Jun 4 2014 ./ drwxr-xr-x 23 root root 4096 Nov 27 06:55 ../ drwxr-xr-x+ 4 pc pc 4096 Dec 10 19:09 pc/ pc@Samsung:/media$ cd pc //success pc@Samsung:/media/pc$ su - frances // change user Password: frances@Samsung:~$ cd /media frances@Samsung:/media$ ls -la // check dir with user 'frances' total 12 drwxr-xr-x 3 root root 4096 Jun 4 2014 . drwxr-xr-x 23 root root 4096 Nov 27 06:55 .. drwxr-xr-x+ 4 pc pc 4096 Dec 10 19:09 pc frances@Samsung:/media$ cd pc //fail -su: cd: pc: Permission denied frances@Samsung:/media$ groups frances // groups 'frances' is a member of includes 'pc' frances : pc cdrom plugdev users sambashare
Here's the output of getfacl pc
frances@Samsung:/media$ getfacl pc # file: pc # owner: pc # group: pc user::rwx user:pc:r-x group::--- mask::r-x other::r-x
Here's 'mount' output:
/dev/sda3 on /media/pc/data type ext4 (rw,nosuid,nodev,uhelper=udisks2) /dev/sda1 on /media/pc/windows type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)