summaryrefslogtreecommitdiffstats
path: root/bin/chmod
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1997-11-13 00:28:51 +0000
committerjulian <julian@FreeBSD.org>1997-11-13 00:28:51 +0000
commitc931d11d3fc12ba491ad39463aa11df49dc1f688 (patch)
tree731c9e2cfdec42868e147077d821a150139c2303 /bin/chmod
parent68d89b19d4172e0605feb73e4248bc41aec9a5f9 (diff)
downloadFreeBSD-src-c931d11d3fc12ba491ad39463aa11df49dc1f688.zip
FreeBSD-src-c931d11d3fc12ba491ad39463aa11df49dc1f688.tar.gz
Reviewed by: hackers@freebsd.org in general
Obtained from: Whistle Communications tree Add an option to the way UFS works dependent on the SUID bit of directories This changes makes things a whole lot simpler on systems running as fileservers for PCs and MACS. to enable the new code you must 1/ enable option SUIDDIR on the kernel. 2/ mount the filesystem with option suiddir. hopefully this makes it difficult enough for people to do this accidentally. see the new chmod(2) man page for detailed info.
Diffstat (limited to 'bin/chmod')
-rw-r--r--bin/chmod/chmod.18
1 files changed, 6 insertions, 2 deletions
diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1
index d9d8141..de38e1e 100644
--- a/bin/chmod/chmod.1
+++ b/bin/chmod/chmod.1
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)chmod.1 8.4 (Berkeley) 3/31/94
-.\" $Id$
+.\" $Id: chmod.1,v 1.7 1997/02/22 14:01:29 peter Exp $
.\"
.Dd March 31, 1994
.Dt CHMOD 1
@@ -110,10 +110,14 @@ the following values:
.Bl -tag -width 6n -compact -offset indent
.It Li 4000
set-user-ID-on-execution
+( see
+.Xr chmod 2
+for directories )
.It Li 2000
set-group-ID-on-execution
.It Li 1000
-sticky bit, see chmod(2)
+sticky bit, see
+.Xr chmod 2
.It Li 0400
read by owner
.It Li 0200
OpenPOWER on IntegriCloud