chown [OPTION]... OWNER[:[GROUP]] FILE... chown [OPTION]... :GROUP FILE... chown [OPTION]... --reference=RFILE FILE... |
The specification for "chown" is as specified in the SUS but with the following differences as listed below.
like verbose but report only when a change is made
affect the referent of each symbolic link, rather than the symbolic link itself
affect symbolic links instead of any referenced file (available only on systems that can change the ownership of a symlink)
change the owner and/or group of each file only if its current owner and/or group match those specified here. Either may be omitted, in which case a match is not required for the omitted attribute.
suppress most error messages
use RFILE's owner and group rather than the specified OWNER:GROUP values
output a diagnostic for every file processed
output version information and exit