CHOWN(1) DOMAIN/IX Reference Manual (SYS5) CHOWN(1)
NAME
chown, chgrp - change owner or group
USAGE
chown owner file ...
chgrp group file ...
DESCRIPTION
Chown changes ownership of a file to a specified individual
owner. The owner argument may be either a decimal user ID
or a log-in name found in the password file.
Chgrp changes the group ID for the file to a specified
group. The group argument may be either a decimal group ID
or a group name found in the group file.
EXAMPLES
To change ownership of file1 from the current individual
owner to ownership by someone with the log-in name of mary,
use this command:
chown mary file1
To change the group identification of file2 to a group ID of
7, type the following:
chgrp 7 file2
CAUTIONS
Unless you are the super-user, invoking chown clears the
set-user-ID bit (04000) and set-group-ID bit (02000) of the
file mode.
Files that are protected for write-only or execute-only by
chown (1) are also made available for read access. This is
required by the Apollo I/O system.
FILES
/etc/passwd
/etc/group
RELATED INFORMATION
chmod (1), chown (2), group (4), passwd (4).
Printed 6/10/85 CHOWN-1