forsyth20121205-174063a80cc13 years agoHistory
44 lines · 909 B · Text
RawDownload
.TH CHGRP 1.SH NAMEchgrp \- change file's group or owner.SH SYNOPSIS.B chgrp[.B -uo].I id.I file ....SH DESCRIPTION.I Chgrpchanges the group ownership of each.I fileto the given.IR id ,if the file's serverpermits it.The.B -uand.B -ooptions are equivalentand cause.I chgrpto change file ownership instead,if the file's server permits it..PPNormally, a file's group can be changed by the file's owner, if theowner is a member of the new group, or by the leader of boththe file's current group and the new group,but various underlying devices, file servers and host operating systemsmight not permit the operation at all.Group and ownership changes allowed by a given device are documented bythe 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)