summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-12-15 16:08:24 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-12-15 16:08:24 +0000
commitadf1eba0cf7f10deff0dfc16f83ee2c235eea117 (patch)
treef9b323166c71a7ad278cf9622cfe47a929a195c4 /usr.bin
parent54b87ddc0035eb9c45a05618dc7b9ccc5a226d1c (diff)
Be more verbose about when system immutable flags may be set/cleared.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/chflags/chflags.117
1 files changed, 11 insertions, 6 deletions
diff --git a/usr.bin/chflags/chflags.1 b/usr.bin/chflags/chflags.1
index a7e0a302516..3a498bad79c 100644
--- a/usr.bin/chflags/chflags.1
+++ b/usr.bin/chflags/chflags.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: chflags.1,v 1.8 1999/12/09 00:39:50 aaron Exp $
+.\" $OpenBSD: chflags.1,v 1.9 1999/12/15 16:08:23 aaron Exp $
.\" $NetBSD: chflags.1,v 1.4 1995/08/31 22:50:22 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
@@ -96,22 +96,27 @@ uappnd set the user append-only flag (owner or super-user only)
uchg set the user immutable flag (owner or super-user only)
.Ed
.Pp
+An immutable file may not be changed, moved, or deleted.
+An append-only file is immutable except that data may be appended to it.
+.Pp
Putting the letters
.Dq no
-before an option causes the flag to be turned off.
+before a flag name causes the flag to be turned off.
For example:
.Bd -literal -offset indent compact
nouchg the immutable bit should be cleared
.Ed
.Pp
The
+superuser-settable
.Dq sappnd
and
.Dq schg
-system flags may be set at any time, but normally may only be unset when the
-system is in single-user mode (see
-.Xr init 8
-for details).
+flags can be set at any time, but may only be cleared when the system is
+running at security level 0 or -1 (insecure or permanently insecure mode,
+respectively).
+The securelevel is normally set to 0, for example, when
+running in single-user mode.
.Pp
Symbolic links do not have flags, so unless the
.Fl H