Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

I'm confused. I have two users in system: u1 and u2, and group u1. both u1 and u2 belong to u1. I've created directory /opt/d with properties:

drwxrwxr-x 2 u1 u1 512B May 26 17:55 d

AFAIK, this configuration allows both users write to directory. But, from u2:

touch /opt/d/x

touch: /opt/d/x: Permission denied

And same configuration on RHEL5 works fine.

What i've missed?


share|improve this question

Does u2 have read permissions to all directories above the group directory? If he doesn't have read rights to every directory above he won't be able to get to the group directory which would lead to that error.

Also-have you logged u2 out since you made the changes to the groups? Group membership is only read at login.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.