chgrp.1 (9c79794016d679440487dea61b3b986397c9ecbb) chgrp.1 (1901b124620ea354267e8b765e7d6a9bb3967755)
1.\" Copyright (c) 1983, 1990, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 17 unchanged lines hidden (view full) ---

26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" @(#)chgrp.1 8.3 (Berkeley) 3/31/94
32.\" $FreeBSD$
33.\"
1.\" Copyright (c) 1983, 1990, 1993, 1994
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" the Institute of Electrical and Electronics Engineers, Inc.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 17 unchanged lines hidden (view full) ---

26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE.
30.\"
31.\" @(#)chgrp.1 8.3 (Berkeley) 3/31/94
32.\" $FreeBSD$
33.\"
34.Dd April 25, 2003
34.Dd February 21, 2010
35.Dt CHGRP 1
36.Os
37.Sh NAME
38.Nm chgrp
39.Nd change group
40.Sh SYNOPSIS
41.Nm
35.Dt CHGRP 1
36.Os
37.Sh NAME
38.Nm chgrp
39.Nd change group
40.Sh SYNOPSIS
41.Nm
42.Op Fl fhv
42.Op Fl fhvx
43.Oo
44.Fl R
45.Op Fl H | Fl L | Fl P
46.Oc
47.Ar group
48.Ar
49.Sh DESCRIPTION
50The

--- 33 unchanged lines hidden (view full) ---

84Cause
85.Nm
86to be verbose, showing files as the group is modified.
87If the
88.Fl v
89flag is specified more than once,
90.Nm
91will print the filename, followed by the old and new numeric group ID.
43.Oo
44.Fl R
45.Op Fl H | Fl L | Fl P
46.Oc
47.Ar group
48.Ar
49.Sh DESCRIPTION
50The

--- 33 unchanged lines hidden (view full) ---

84Cause
85.Nm
86to be verbose, showing files as the group is modified.
87If the
88.Fl v
89flag is specified more than once,
90.Nm
91will print the filename, followed by the old and new numeric group ID.
92.It Fl x
93File system mount points are not traversed.
92.El
93.Pp
94The
95.Fl H ,
96.Fl L
97and
98.Fl P
99options are ignored unless the

--- 20 unchanged lines hidden (view full) ---

120.El
121.Sh EXIT STATUS
122.Ex -std
123.Sh COMPATIBILITY
124In previous versions of this system, symbolic links did not have groups.
125.Pp
126The
127.Fl v
94.El
95.Pp
96The
97.Fl H ,
98.Fl L
99and
100.Fl P
101options are ignored unless the

--- 20 unchanged lines hidden (view full) ---

122.El
123.Sh EXIT STATUS
124.Ex -std
125.Sh COMPATIBILITY
126In previous versions of this system, symbolic links did not have groups.
127.Pp
128The
129.Fl v
128option is non-standard and its use in scripts is not recommended.
130and
131.Fl x
132options are non-standard and their use in scripts is not recommended.
129.Sh SEE ALSO
130.Xr chown 2 ,
131.Xr fts 3 ,
132.Xr group 5 ,
133.Xr passwd 5 ,
134.Xr symlink 7 ,
135.Xr chown 8
136.Sh STANDARDS
137The
138.Nm
139utility is expected to be
140.St -p1003.2
141compatible.
133.Sh SEE ALSO
134.Xr chown 2 ,
135.Xr fts 3 ,
136.Xr group 5 ,
137.Xr passwd 5 ,
138.Xr symlink 7 ,
139.Xr chown 8
140.Sh STANDARDS
141The
142.Nm
143utility is expected to be
144.St -p1003.2
145compatible.