Subject: bin/32265: chflags(1) references
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <andre@fc.unesp.br>
List: netbsd-bugs
Date: 12/07/2005 20:25:00
>Number:         32265
>Category:       bin
>Synopsis:       chflags(1) references
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 07 20:25:00 +0000 2005
>Originator:     André Luiz de Oliveira
>Release:        2.0.2
>Organization:
>Environment:
NetBSD freire 2.0.2 NetBSD 2.0.2 (freire) #0: Fri Dec  2 19:26:12 UTC 2005
andre@freire:/usr/src-2.0.2/sys/arch/i386/compile/freire i386

>Description:
looking for references to chflags(1) from other manpages I've found none.
so, my suggestion is to refer chflags(1) from chown(8) and from chmod(1).
a patch illustrating the change follows.
>How-To-Repeat:

>Fix:
Index: usr.sbin/chown/chown.8                                  
===================================================================
RCS file: /cvsroot/src/usr.sbin/chown/chown.8,v
retrieving revision 1.19
diff -u -p -r1.19 chown.8
--- usr.sbin/chown/chown.8      25 Sep 2003 10:30:10 -0000      1.19
+++ usr.sbin/chown/chown.8      7 Dec 2005 20:02:51 -0000
@@ -144,6 +144,7 @@ This has been changed to be a colon (``:
 group names may contain the dot character.
 .Sh SEE ALSO
 .Xr chgrp 1 ,
+.Xr chflags 1 ,
 .Xr find 1 ,
 .Xr chown 2 ,
 .Xr lchown 2 ,
Index: bin/chmod/chmod.1
===================================================================
RCS file: /cvsroot/src/bin/chmod/chmod.1,v
retrieving revision 1.20
diff -u -p -r1.20 chmod.1
--- bin/chmod/chmod.1   7 Aug 2003 09:05:02 -0000       1.20
+++ bin/chmod/chmod.1   7 Dec 2005 20:02:51 -0000
@@ -267,6 +267,7 @@ set the group bits equal to the user bit
 .El
 .Sh SEE ALSO
 .Xr install 1 ,
+.Xr chflags 1 ,
 .Xr chmod 2 ,
 .Xr stat 2 ,
 .Xr umask 2 ,