misc/174966: Bug in chflags(2) man page

Christian Ullrich chris+freebsd at chrullrich.net
Fri Jan 4 10:30:02 UTC 2013


>Number:         174966
>Category:       misc
>Synopsis:       Bug in chflags(2) man page
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 04 10:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Christian Ullrich
>Release:        9.1
>Organization:
>Environment:
>Description:
securelevel > 0 prevents the superuser from changing the flags. The current wording says the inverse.
>How-To-Repeat:

>Fix:
Index: lib/libc/sys/chflags.2
===================================================================
--- lib/libc/sys/chflags.2      (revision 245035)
+++ lib/libc/sys/chflags.2      (working copy)
@@ -98,7 +98,7 @@
 or
 .Dv SF_NOUNLINK
 is set a non-super-user cannot change any flags and even the super-user
-can change flags only if securelevel is greater than 0.
+can change flags only if securelevel is not greater than 0.
 (See
 .Xr init 8
 for details.)


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list