You are not logged in.
I have a folder called Music inside my home directory. I want the user "family" to be able to explore and read the files in there. I have set up this file permissions (recursively):
drwxr-s--- 201 pablo users 12K jun 7 16:50 /home/pablo/Music
User "pablo" belongs to the groups "pablo" and "users". user "family" belongs only to the group "users" but not to "pablo".
/home/pablo belongs to group "pablo" and it's file permission is 700, and I want to keep it that way.
Creating a symlink in /home/family/Music that points to /home/pablo/Music was of no use because when trying to cd into it, it says PERMISSION DENIED.
How can I have read access to that folder from the user "family"?
Offline
You can do the following:
a. Add a "family" group and change the group owner of your music directory to "family".
b. Change directory permissions to 750 to allow listing and reading the directory by members of the "family" group but not writing to.
c. Add all family members to the "family" group you've just created (or have just one "family" user to be member of the "family" group).
I'd also move that public directory outside my home directory too.
Offline
Access Control Lists (ACLs) (http://wiki.archlinux.org/index.php/ACL) might be useful here. They offer extremely flexible permissions to specified files/folders. It might be overkill for just this, but its pretty easy to set up.
Offline
I ended up doing a mount --rbind. Too hackish?
Offline
Access Control Lists (ACLs) (http://wiki.archlinux.org/index.php/ACL) might be useful here. They offer extremely flexible permissions to specified files/folders. It might be overkill for just this, but its pretty easy to set up.
I had never heard of that. Thanks for the tip!
Offline