compdigit
asked on
Permissions
In Unix how to a grant a specific user "read" access to "one" specific folder???
If the folder belongs to the user:
chmod u+r folder
If the folder not belongs to the user, check the group owner and add the user to the group.
usermod -G groupname username
chmod g+r folder
ASKER
I am new to the Unix world so please bare with me. But what if I don't want to give the whole group read permissions. I just want to grant user A read access to only one of User B folders and that's it.
If you want only A and B to have access, you should chgrp it to a group containing only A and B
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
chmod a-rwx folder
chmod u+r folder