LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to set read only access to one more group (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-read-only-access-to-one-more-group-838248/)

pudhadeps 10-15-2010 07:36 AM

How to set read only access to one more group
 
Hi,
We are aware that unix has three sets of permission such as owner, group and others.

I have a requirement to have a read-only access to a folder and sub-folders and the group that currently holds can't be used. Because it has write privileges. I would rather not prefer to use others, because it opens to each user in the system.

Can someone suggest some ideas to have read-only access for another group? Thanks in advance for your time.

gdejonge 10-15-2010 07:52 AM

For this purpose ACL's where introduced in Linux/Unix.
Check out the getfacl and setfacl commands.

If you get command not found messages. You should install the acl package.

________________
Gerrard


All times are GMT -5. The time now is 07:58 PM.