Quote:
Originally Posted by zhjim
chmod is only usable by the root user or the owner of the file itself.
chown is only usable by the user root. Reason for this is that you could just create a file, put the suid bit onto it and chown it to root and voila root access is yours.
Also when quotas are in use. If I was about to exced my quota I just give my bigest file to you and live happily after...
|
The reasons for chown are straightforward.
The limitation for chmod I do not understand. How can I make a group of people manage their own things?! Can I not achieve that anyone who can write a directory may change the files metadata (like rights) within?
Currently the users in "users" have to maintain the directory (and its subtree) "test", they _all_ need to be able to change the contents and adjust permission, but they must not be granted any other privileges (especially not any root permissions).