From acef34de336a4e752a42bc7f623d5ab59d63946c Mon Sep 17 00:00:00 2001 From: christos Date: Sat, 31 Jul 1999 03:30:44 +0000 Subject: [PATCH] Add note that only the super-user may set or reset any flags on block and character devices. [Commit by cjs.] --- lib/libc/sys/chflags.2 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/chflags.2 b/lib/libc/sys/chflags.2 index 494d5a1bbcfd..177d91a0fde8 100644 --- a/lib/libc/sys/chflags.2 +++ b/lib/libc/sys/chflags.2 @@ -1,4 +1,4 @@ -.\" $NetBSD: chflags.2,v 1.13 1999/03/22 19:45:01 garbled Exp $ +.\" $NetBSD: chflags.2,v 1.14 1999/07/31 03:30:44 christos Exp $ .\" .\" Copyright (c) 1989, 1993 .\" The Regents of the University of California. All rights reserved. @@ -83,7 +83,9 @@ The .Dv UF_APPEND , and .Dv UF_OPAQUE -flags may be set or unset by either the owner of a file or the super-user. +flags may be set or unset by either the owner of a file or the super-user, +except on block and character devices, where only the super-user may set +or unset them. .Pp The .Dv SF_ARCHIVED ,