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

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

You must log in to answer this question.

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