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

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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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