Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

In the fedora docs they refer to owner and group owner as if both are owners of the file. The leads me to think that any member of a group which tries to change permissions of a file owned by that group will be allowed. Is this right, or can only the "owner" in it's most absolute sense change permissions?

Example

User foo group bar User pc group bar

Can pc change a file creates by foo and group bar

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Only the owner (not the group owner) of a file could change its permissions.

The group owner is only used to establish what access permissions have other users of the same group, other than the file owner.

Permissions are not stored on the directory, so you don't need write permissions on the containing directory.

share|improve this answer
    
just have one quick question, when you say permissions are not stored on the directory, can you be more specific. I always though even directories had permissions? –  rubixibuc Dec 24 '11 at 8:05
    
@rubixibuc It means that you don't need write permission on a directory to change the permissions of any files inside it. The only actions you need write permissions on a directory for are creating / deleting / renaming directory entries. –  jw013 Dec 24 '11 at 18:42
    
Thank you for explaining that –  rubixibuc Dec 24 '11 at 22:26

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.