CHOWN(1) INTERACTIVE UNIX System CHOWN(1)
NAME
chown, chgrp - change owner or group
SYNOPSIS
chown owner file ...
chown owner directory ...
chgrp group file ...
chgrp group directory ...
DESCRIPTION
The chown command changes the owner of the files or direc-
tories to owner. The owner may be either a decimal user ID
or a login name found in the password file.
The chgrp command 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.
FILES
/etc/passwd
/etc/group
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 User's/System
Administrator's Guide.
SEE ALSO
chmod(1).
chown(2), group(4), passwd(4) in the INTERACTIVE SDS Guide
and Programmer's Reference Manual.
Rev. Base System Page 1