CHOWN(1B) | BSD Compatibility Package Commands | CHOWN(1B) |
chown - change owner
/usr/ucb/chown [-fR] owner[.group] filename...
chown changes the owner of the filenames to owner. The owner can be either a decimal user ID (UID) or a login name found in the password file. An optional group can also be specified. The group can be either a decimal group ID (GID) or a group name found in the GID file.
In the default case, only the super-user of the machine where the file is physically located can change the owner. The system configuration option {_POSIX_CHOWN_RESTRICTED} and the privileges PRIV_FILE_CHOWN and PRIV_FILE_CHOWN_SELF also affect who can change the ownership of a file. See chown(2) and privileges(7).
The following options are supported:
-f
-R
See largefile(7) for the description of the behavior of chown when encountering files greater than or equal to 2 Gbyte ( 2^31 bytes).
/etc/passwd
chgrp(1), chown(2), group(5), passwd(5), attributes(7), largefile(7), privileges(7)
June 21, 2004 | OmniOS |