chgrp.1 (416ba5c74546f32a993436a99516d35008e9f384) | chgrp.1 (bb577bb6998be6b5a4853c203c8308bc9b84be60) |
---|---|
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 20, 2015 | 34.Dd January 7, 2017 |
35.Dt CHGRP 1 36.Os 37.Sh NAME 38.Nm chgrp 39.Nd change group 40.Sh SYNOPSIS 41.Nm 42.Op Fl fhvx --- 72 unchanged lines hidden (view full) --- 115or a numeric group ID. 116If a group name is also a numeric group ID, the operand is used as a 117group name. 118.Pp 119The user invoking 120.Nm 121must belong to the specified group and be the owner of the file, 122or be the super-user. | 35.Dt CHGRP 1 36.Os 37.Sh NAME 38.Nm chgrp 39.Nd change group 40.Sh SYNOPSIS 41.Nm 42.Op Fl fhvx --- 72 unchanged lines hidden (view full) --- 115or a numeric group ID. 116If a group name is also a numeric group ID, the operand is used as a 117group name. 118.Pp 119The user invoking 120.Nm 121must belong to the specified group and be the owner of the file, 122or be the super-user. |
123.Pp 124If 125.Nm 126receives a 127.Dv SIGINFO 128signal (see the 129.Cm status 130argument for 131.Xr stty 1 ) , 132then the current filename as well as the old and new group names are 133displayed. |
|
123.Sh FILES 124.Bl -tag -width /etc/group -compact 125.It Pa /etc/group 126group ID file 127.El 128.Sh EXIT STATUS 129.Ex -std 130.Sh COMPATIBILITY --- 20 unchanged lines hidden --- | 134.Sh FILES 135.Bl -tag -width /etc/group -compact 136.It Pa /etc/group 137group ID file 138.El 139.Sh EXIT STATUS 140.Ex -std 141.Sh COMPATIBILITY --- 20 unchanged lines hidden --- |