From: Jim Meyering Date: Wed, 5 Jul 2006 10:03:55 +0000 (+0000) Subject: * man/chmod.x: Correct the description of the sticky bit. Reported X-Git-Tag: COREUTILS-6_0~209 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a7f886e47f95cee00ebff12e58d0ad7595a9cca;p=platform%2Fupstream%2Fcoreutils.git * man/chmod.x: Correct the description of the sticky bit. Reported by Chris Moore via Ian Jackson in . --- diff --git a/ChangeLog b/ChangeLog index a319030..4b1252f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-07-05 Jim Meyering + * man/chmod.x: Correct the description of the sticky bit. Reported + by Chris Moore via Ian Jackson in . + * src/copy.c (copy_internal): Don't work around old NFS clients like SunOS-4.1.4 and Irix 5.3 that set errno to values like EIO and ENOTEMPTY upon failed rename. Otherwise, we risk misinterpreting diff --git a/man/chmod.x b/man/chmod.x index 4972066..ab5c884 100644 --- a/man/chmod.x +++ b/man/chmod.x @@ -61,11 +61,11 @@ systems, and the Linux kernel ignores the sticky bit on files. Other kernels may use the sticky bit on files for system-defined purposes. On some systems, only the superuser can set the sticky bit on files. .SH STICKY DIRECTORIES -When the sticky bit is set on a directory, files in that directory may -be unlinked or renamed only by root or their owner. Without the -sticky bit, anyone able to write to the directory can delete or rename -files. The sticky bit is commonly found on directories, such as /tmp, -that are world-writable. +When the sticky bit is set on a directory, a file in that directory may +be unlinked or renamed only by the directory owner, the file owner, or root. +Without the sticky bit, anyone able to write to the +directory can delete or rename files. The sticky bit is commonly found +on directories, such as /tmp, that are world-writable. .SH OPTIONS [SEE ALSO] chmod(2)