1
Question is about user permissions in RedHat. How to give read-only permission to specific user just to read a specific folder and its sub-folders and files?
How can I do it?
I've tried: chmod a+r -R folder
but it doesn't work - permission is still denied.
So, the situation is, I work under root, I have:
- user1
- user2
I need to give user2 an opportunity to read-only folder and all files and sub-folders of user1.
How can I do that?
I've tried: chmod user2 r -R user1
but it doesn't work either.
It still has permission as denied.
You will need ACL: try reading here, https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/ch-acls.html
– MariusMatutiae – 2013-12-24T16:13:01.920