Philippe Troin very kindly remarked > > Permissions for removal/addition of files in a directory are controlled by > the directory permissions, not the file permissions. Makes sense when > said like this. Except_ for directories with the sticky bit set where > only the owner of a file can remove it (eg. /tmp). ^^^^^^^^^^^^^^
Not "only" - nobody seems to have picked up on this ... In directories where the sticky bit is set, the user and the group owning the directory have the rights attibuted to them by the permissions on the directory, irrespective of the owners of the files. So far, nothing is different from non-sticky directories. If write permission is granted for others (which is the point of it all), others can create files (belonging to them, of course) and only delete files belonging to them. In essence, "drwxrwxrwt sysop wheel /tmp" permits sysop and wheel users to delete any and all files in /tmp. For further discussion, any Unix basic administration book... this isn't really the place. -- include <std_disclaim.h> Lorens KOCKUM ( [EMAIL PROTECTED] )