Change who is able to chmod

aclchmodpermissions

Is there a way to change who can chmod (change the permissions of) a particular file?

It is only the owner of the file (without sudo-ing it), if my experimentation has been correct?

But what I want to do is allow on the group to be able to edit the file permissions, and not the owner.

This isn't possible under the traditional Unix file system I don't think, but I'm wondering if there is a sneaky way it can be done using ACLs or something similar?

Best Answer

Only the owner of the file (and root) are allowed to change permissions to a file. Perhaps you should allow your users to do some stuff as the web server's user (via sudo(1))?

Related Question