Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

marked as duplicate by Randolph West, Daniel Andersson, random Jun 8 '12 at 2:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

This may be of help -… – PeanutsMonkey May 23 '12 at 19:18
Are the files in that group? – Mark May 23 '12 at 19:19
-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 May 23 '12 at 19:31
chmod g(+|-|=)<flags> [file ...]


chmod g+rw shared-file.txt
share|improve this answer
Doesn't that depend on whether the group has been given ownership of the file? – PeanutsMonkey May 23 '12 at 19:22
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. – user3463 May 23 '12 at 19:55
PeanutsMonkey: Yes it does. Randolph: Noted, thanks. Should I delete my answer then? – ReyCharles May 23 '12 at 20:13
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 May 23 '12 at 20:15

Not the answer you're looking for? Browse other questions tagged .