CHOWN(1) 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.
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 System Administrator's
Guide.
SEE ALSO
chmod(1).
chown(2), group(4), passwd(4) in the Programmer's Reference
Manual.
ORIGIN
AT&T V.3
Page 1 (last mod. 8/20/87)