diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/inferno/man1/chgrp.1 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/inferno/man1/chgrp.1')
| -rw-r--r-- | static/inferno/man1/chgrp.1 | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/static/inferno/man1/chgrp.1 b/static/inferno/man1/chgrp.1 new file mode 100644 index 00000000..e6e894cb --- /dev/null +++ b/static/inferno/man1/chgrp.1 @@ -0,0 +1,44 @@ +.TH CHGRP 1 +.SH NAME +chgrp \- change file's group or owner +.SH SYNOPSIS +.B chgrp +[ +.B -uo +] +.I id +.I file ... +.SH DESCRIPTION +.I Chgrp +changes the group ownership of each +.I file +to the given +.IR id , +if the file's server +permits it. +The +.B -u +and +.B -o +options are equivalent +and cause +.I chgrp +to change file ownership instead, +if the file's server permits it. +.PP +Normally, a file's group can be changed by the file's owner, if the +owner is a member of the new group, or by the leader of both +the file's current group and the new group, +but various underlying devices, file servers and host operating systems +might not permit the operation at all. +Group and ownership changes allowed by a given device are documented by +the device's manual page. +See +.IR sys-stat (2) +for the variations amongst host operating systems. +.SH SOURCE +.B /appl/cmd/chgrp.b +.SH SEE ALSO +.IR chmod (1), +.IR ls (1) +.IR sys-stat (2) |
