CHOWN(1) SysV CHOWN(1)
NAME
chown, chgrp - change owner or group
SYNOPSIS
chown owner file ...
chown owner directory ...
chgrp group file ...
chgrp group directory ...
DESCRIPTION
chown changes the owner of the files or directories to owner. The owner
may be either a decimal user ID or a login name found in the password
file.
chgrp changes the group ID of the files or directories to group. The
group may be either a decimal group ID or a group name found in the group
file.
If either command is invoked by other than the super-user, the set-user-
ID and set-group-ID bits of the file mode, 04000 and 02000 respectively,
will be cleared.
Only the owner of a file (or the super-user) may change the owner or
group of that file.
NOTES
In a Remote File Sharing environment, you may not have the permissions
that the output of the ls -l command leads you to believe. For more
information see the "Mapping Remote Users" section of Chapter 10 of the
SysV System Administrator's Guide.
FILES
/etc/passwd
/etc/group
SEE ALSO
chmod(1).
chown(2), group(4), passwd(4) in the SysV Programmer's Reference Manual.