CHGRP(1) COMMAND REFERENCE CHGRP(1)
NAME
chgrp - change group ownership
SYNOPSIS
chgrp [ -f ] [ -l ] group filename...
DESCRIPTION
Chgrp changes the group-ID of the filenames to group. The
group may be either a decimal GID or a group name found in
the group-ID file.
The user invoking chgrp must belong to the specified group,
or be the superuser. OPTIONS
-f Force. No error messages about nonexistent files or
files that can not have group ownership changed.
-l Follow symbolic links. Normally, the group ownership of
the symbolic link itself is changed. The -l option
causes chgrp to follow the symbolic links and change the
group ownership of the file pointed to.
EXAMPLES
The following invocation changes the group of the file temp
to system:
chgrp system temp
FILES
/etc/group System group information
RETURN VALUE
[NO_ERRS] Command completed without error.
[USAGE] Incorrect command line syntax. Execution
terminated.
[NP_WARN] An error warranting a warning message
occurred. Execution continues.
[NP_ERR] An error occurred that was not a system
error. Execution terminated.
[P_WARN] A system error occurred. Execution continues.
See intro(2) for more information on system
errors.
SEE ALSO
chmod(1), ln(1), chgrp(2), chown(2), passwd(5), group(5),
Printed 10/17/86 1
CHGRP(1) COMMAND REFERENCE CHGRP(1)
chown(8).
Printed 10/17/86 2
%%index%%
na:72,66;
sy:138,181;
de:319,849;
ex:1168,191;
fi:1359,108;
rv:1467,619;
se:2086,182;2412,78;
%%index%%000000000127