September 2000
Beginner
1312 pages
33h 47m
English
/usr/ucb/chown [-f][-R] owner [group] filename...
Use the chown command to change the owner of a file or files. The owner can be either a decimal user ID (UID) or a login name found in the password file. You can also specify an optional group, which can be either a decimal group ID (GID) or a group name found in the GID file.
Only superuser can change owner IDs.
| -f | Do not report errors. |
| -R | Recursively descend into directories, setting the ownership of all files in each directory encountered. When symbolic links are encountered, change their ownership but do not traverse them. |
In the following example, even though winsor owns the file, she cannot change the ownership of the file named ...