aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJulian Elischer <julian@FreeBSD.org>1997-11-13 00:28:51 +0000
committerJulian Elischer <julian@FreeBSD.org>1997-11-13 00:28:51 +0000
commit52bf64c7878f577be7fefbf5be4e638977da95e2 (patch)
tree517e71229ad99537fc653a54b10319926fc4f944 /bin
parenta272e47d504257bb30e6fe4babcf3e4a9956734f (diff)
downloadsrc-52bf64c7878f577be7fefbf5be4e638977da95e2.tar.gz
src-52bf64c7878f577be7fefbf5be4e638977da95e2.zip
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.
Notes
Notes: svn path=/head/; revision=31144
Diffstat (limited to 'bin')
-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 d9d81417e202..de38e1eba5f9 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