c
chown(1) | chown(1) |
RETURN VALUE
chown and chgrp return the following values:
0Successful completion.
>0 An error condition occurred.
EXAMPLES
The following command changes the owner of the ®le jokes to sandi:
chown sandi jokes
The following command searches the directory design_notes and changes each ®le in that directory to owner mark and group users:
chown
WARNINGS
The default operation of chown and chgrp for symbolic links has changed as of
FILES
/etc/group
/etc/passwd
SEE ALSO
chmod(1), setprivgrp(1M), chown(2), group(4), passwd(4), acl(5), aclv(5).
STANDARDS CONFORMANCE
chown: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
chgrp: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2
Section 1−88 | − 2 − |