Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] what does "make a directory STICKY" mean
  • From: Pieter Hulshoff <phulshof@xxxxxxxxx>
  • Date: Tue, 11 May 2004 08:47:21 +0200
  • Message-id: <20040511064721.GA48409@xxxxxxxxx>
On Tue, May 11, 2004 at 03:37:45PM +1000, mabergh@xxxxxxxxxxxxxxx wrote:
> Dear Friends, What does the word "sticky" in the following text mean:
> "make this directory writable (and sticky) for your normal user"

man -s 2 chmod

If a directory is writable and has S_ISVTX (the sticky bit)
set, files within that directory can be removed or renamed
only if one or more of the following is true (see unlink(2)
and rename(2)):
o the user owns the file
o the user owns the directory
o the file is writable by the user
o the user is a privileged user

Regards,

Pieter Hulshoff


< Previous Next >
This Thread
References