From c931d11d3fc12ba491ad39463aa11df49dc1f688 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 13 Nov 1997 00:28:51 +0000 Subject: 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. --- bin/chmod/chmod.1 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'bin/chmod') 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 -- cgit v1.1