Alan Iwi <[EMAIL PROTECTED]> wrote:
> The man page for chmod(1) in GNU coreutils 5.3.0 states:
>
>     "When the sticky bit is set on a directory, files in that directory
>     may be unlinked or renamed only by root or their owner."
>
> You should add to this: "or by the owner of the directory".

Thanks for the report.  That's been fixed for a couple of years.
Here's the latest from coreutils-6.9.90:

RESTRICTED DELETION FLAG OR STICKY BIT
       The  restricted  deletion  flag  or  sticky  bit is a single bit, whose
       interpretation depends on the file type.  For directories, it  prevents
       unprivileged  users  from  removing or renaming a file in the directory
       unless they  own  the  file  or  the  directory;  this  is  called  the
       restricted  deletion  flag  for the directory, and is commonly found on
       world-writable directories like /tmp.  For regular files on some  older
       systems,  the  bit saves the program's text image on the swap device so
       it will load more quickly when run; this is called the sticky bit.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to