Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: seth@sirius.ctr.columbia.edu (Seth Robertson) Newsgroups: comp.sys.sun Subject: Re: /var/spool/uucp sticky bit? Keywords: SunOS Message-ID: <129@brazos.Rice.edu> Date: 10 Jul 89 20:15:12 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 28 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 8, Issue 71, message 1 of 18 In article <4232@kalliope.rice.edu> weltyc@fs3.cs.rpi.edu (Christopher A. Welty) writes: >X-Sun-Spots-Digest: Volume 8, Issue 61, message 3 of 18 > >| Return-Path: From: david@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@ctr.columbia.edu