In Ubuntu 11.04 I could mount a file system in /media/foo and run chown guest:guest /media/foo/bar -R
and have full access in the guest account. After the upgrade to 12.04 I changed my routine to reflect the new guest usernames (chown guest[id]:guest[id] /media/foo/bar -R
) but I still can't access it as a guest user, as I don't have access privileges to /media as guest:
ls: cannot open directory /media: Permission denied
(Very interestingly this does work if I su
into the guest account as root). I understand this is meant as a security measure but I don't see how it is done. ls -l /
reports
drwxr-xr-x 11 root root 4096 Sep 9 22:28 media
Thus my two questions: How does this restriction work and how can I access a mounted file system as a guest user, ideally without allowing access to all of the other mounted file systems?