Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

Thanks.

share|improve this question
add comment

1 Answer

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
add comment

Your Answer

 
discard

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