-5
Possible Duplicate:
Setting permissions for specific user and groups in Linux
I have put some users into a group and would like to know how I use chmod to change the access permissions for only the members of that group. Thank you.
-5
Possible Duplicate:
Setting permissions for specific user and groups in Linux
I have put some users into a group and would like to know how I use chmod to change the access permissions for only the members of that group. Thank you.
1
chmod g(+|-|=)<flags> [file ...]
Example:
chmod g+rw shared-file.txt
1Doesn't that depend on whether the group has been given ownership of the file? – PeanutsMonkey – 2012-05-23T19:22:24.290
If a question has been answered elsewhere on the site, it is recommended that you flag it as a duplicate and not to respond with an answer. – None – 2012-05-23T19:55:54.373
PeanutsMonkey: Yes it does.
Randolph: Noted, thanks. Should I delete my answer then? – ReyCharles – 2012-05-23T20:13:14.900
Don't delete your answer, it's good and fits the question. And until the question is not closed everone is free to answer it. – Baarn – 2012-05-23T20:15:50.697
This may be of help - http://superuser.com/questions/144984/setting-permissions-for-specific-user-and-groups-in-linux
– PeanutsMonkey – 2012-05-23T19:18:53.017Are the files in that group? – user151019 – 2012-05-23T19:19:08.867
5-1 there is no research effort shown here, a simple look at
chmod --help
or manpages would have solved the problem. a google search would've yielded thousands of results and then it has been asked a lot of times here on superuser before. – Baarn – 2012-05-23T19:31:59.723