Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have the permissions below for the directory V, created by the owner a. Now, according to the properties, the associated group should also be able to read write and execute in the directory.

Does that mean that all the users who belong to the group b have access? So if I log in as the user c, who is a member of group b, will I have rwx rights?

drwxrwxr-x 2 a b 4096 Mar 10 17:16 V
share|improve this question

1 Answer 1

up vote 5 down vote accepted

Um, yes. That's what group permissions are. The way you have it set up now is:

d rwx rwx r-x
- --- --- ---
|  |   |   |------> Everybody can read(r) and execute(x)
|  |   |
|  |   |----------> All group members can read(r), write(w) and execute(x) 
|  |
|  |--------------> Owner can read(r), write(w) and execute(x) 
|
|-----------------> it is a directory
share|improve this answer
1  
@Suresh: If you don't want that behavior, have a look at Access Control Lists (users.suse.com/~agruen/acl/chapter/fs_acl-en.pdf). But note, that those must be supported by you file system and must be enabled with a mount option. –  mpy Mar 21 '13 at 13:57

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.