summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authortrhodes <trhodes@FreeBSD.org>2009-01-23 11:39:00 +0000
committertrhodes <trhodes@FreeBSD.org>2009-01-23 11:39:00 +0000
commit4e6bb7539b4eadb9d874a400a6f1a87bf3e1d066 (patch)
treea642f0143b5bcd2a5372220107ef92428f03a3e8 /bin
parent5a0f6174652e55da0fc3ecfdcf560508bf49af1c (diff)
downloadFreeBSD-src-4e6bb7539b4eadb9d874a400a6f1a87bf3e1d066.zip
FreeBSD-src-4e6bb7539b4eadb9d874a400a6f1a87bf3e1d066.tar.gz
Note the implication of setting the 'w' permission on directories,
while here, expand the 'naughty bits' comment in BUGS. PR: 84265 and 84268 Reviewed by: keramida Obtained from: hints from ceri, keramida
Diffstat (limited to 'bin')
-rw-r--r--bin/chmod/chmod.19
1 files changed, 7 insertions, 2 deletions
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index 37d64bb..c55091f 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -32,7 +32,7 @@
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
.\" $FreeBSD$
.\"
-.Dd December 22, 2006
+.Dd January 23, 2009
.Dt CHMOD 1
.Os
.Sh NAME
@@ -281,6 +281,10 @@ Operations upon the other permissions only (specified by the symbol
``o'' by itself), in combination with the
.Ar perm
symbols ``s'' or ``t'', are ignored.
+.Pp
+The ``w'' permission on directories will permit file creation, relocation,
+and copy into that directory.
+Files created within the directory itself will inherit its group ID.
.Sh EXAMPLES
.Bl -tag -width "u=rwx,go=u-w" -compact
.It Li 644
@@ -343,4 +347,5 @@ command appeared in
.Sh BUGS
There is no
.Ar perm
-option for the naughty bits.
+option for the naughty bits which are ``S'' and
+``T'' respectively.
OpenPOWER on IntegriCloud