chown <command> <command...>

Change the user and/or group ownership of a given file, directory, or symbolic link

Arguments

NameDescription
command
commandfilepaths, folders

Options

NameDescription
-fDon't report any failure to change file owner or group, nor modify the exit status to reflect such failures
-hIf the file is a symbolic link, change the user ID and/or the group ID of the link itself
-nInterpret user ID and group ID as numeric, avoiding name lookups
-vCause chown to be verbose, showing files as the owner is modified
-RChange the user ID and/or the group ID for the file hierarchies rooted in the files instead of just the files themselves
-HIf the -R option is specified, symbolic links on the command line are followed
-LIf the -R option is specified, all symbolic links are followed
-PIf the -R option is specified, no symbolic links are followed