chmod broken?

Markku Kolkka markkuk at tuubi.net
Thu Jun 30 14:15:55 UTC 2005


Bill Rees kirjoitti viestissään (lähetysaika torstai, 30. 
kesäkuuta 2005 08:26):
> Whoever
> owns the file can chmod the file but if you're just a member
> of the group you get the permission denied messages.

This is exactly how chmod is supposed to work according to the 
Single Unix Specification:
"Only a process whose effective user ID matches the user ID of 
the file, or a process with the appropriate privileges, shall be 
permitted to change the file mode bits of a file."
http://www.opengroup.org/onlinepubs/009695399/utilities/chmod.html

-- 
 Markku Kolkka
 markku.kolkka at iki.fi




More information about the fedora-list mailing list