Command = chown
Utility = Change file's/folder's owner
Command line :
delorimier:/# chown root.root /etc/passwd
Sample output :
[No Output]
Usage :
Usage: chown [OPTION]... OWNER[:[GROUP]] FILE...
or: chown [OPTION]... :GROUP FILE...
or: chown [OPTION]... --reference=RFILE FILE...
Change the owner and/or group of each FILE to OWNER and/or GROUP.
-c, --changes like verbose but report only when a change is made
--dereference affect the referent of each symbolic link, rather
than the symbolic link itself
-h, --no-dereference affect symbolic links instead of any referenced file
(available only on systems that can change the
ownership of a symlink)
--from=CURRENT_OWNER:CURRENT_GROUP
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.
-f, --silent, --quiet suppress most error messages
--reference=RFILE use RFILE's owner and group rather than
the specified OWNER:GROUP values
-R, --recursive operate on files and directories recursively
-v, --verbose output a diagnostic for every file processed
--help display this help and exit
--version output version information and exit
Owner is unchanged if missing. Group is unchanged if missing, but changed
to login group if implied by a `:'. OWNER and GROUP may be numeric as well
as symbolic.
Report bugs to .
Note :