/var/spool/uucp sticky bit?

Seth Robertson seth at sirius.ctr.columbia.edu
Tue Jul 11 06:15:12 AEST 1989


In article <4232 at kalliope.rice.edu> weltyc at fs3.cs.rpi.edu (Christopher A. Welty) writes:
>X-Sun-Spots-Digest: Volume 8, Issue 61, message 3 of 18
>
>| Return-Path: <david at wubios.WUstl.EDU> From: david at wubios.WUstl.EDU
>| 
>| Under SunOS the sticky bit for a directory means that files in that
>| directory can only be deleted or renamed by their owners.  -David-
>
>Really? Do you know where/if this documented?

man 8 sticky
STICKY(8)             MAINTENANCE COMMANDS              STICKY(8)

  Sticky Directories
     A directory for which the sticky bit is set restricts  dele-
     tion of files it contains.  A file in a sticky directory may
     only be removed or renamed by a user who has  write  permis-
     sion  on  the  directory, and either owns the file, owns the
     directory, or is the super-user.  This is useful for  direc-
     tories  such  as  /tmp, which must be publicly writable, but
     should deny users permission to arbitrarily delete or rename
     the files of others.

     Any user may create  a  sticky  directory.   See  chmod  for
     details about modifying file modes.

					-Seth Robertson
					 seth at ctr.columbia.edu



More information about the Comp.sys.sun mailing list