Change file owner and group
chown -c {changes} -f {silent} -v {verbose} -h {no-dereference} -R {recursive} ๐ changes ๐ silent ๐ verbose ๐ no-dereference ๐ recursive chown -c {changes} -f {silent} -v {verbose} -h {no-dereference} -R {recursive} Sandbox: execFile · Timeout: 30s
system.file.chown system.file.search system.file.process system.file.copy system.file.move system.file.delete | Name | Type | Required | Default | Description | Aliases |
|---|---|---|---|---|---|
changes | string | No | - | like verbose but report only when a change is made | -c, --changes |
silent | string | No | - | suppress most error messages | -f, --silent, --quiet |
verbose | string | No | - | output a diagnostic for every file processed --dereference affect the referent of each symbolic link (this is the default), rather than the symbolic link itself | -v, --verbose |
no-dereference | string | No | - | affect symbolic links instead of any referenced file; useful only on systems that can change the ownership of a symlink --from=CURRENT_OWNER:CURRENT_GROUP change the ownership of each file only if ... | -h, --no-dereference |
recursive | string | No | - | operate on files and directories recursively | -R, --recursive |
flag-H | file | No | - | if a command line argument is a symlink to a directory, traverse it | -H |
flag-L | file | No | - | traverse every symbolic link to a directory encountered | -L |
flag-P | string | No | - | do not traverse any symbolic links | -P |
help | string | No | - | display this help and exit --version output version information and exit | --help |
dereference | boolean | No | - | --dereference | |
from | boolean | No | - | --from | |
no_preserve_root | boolean | No | - | --no-preserve-root | |
preserve_root | boolean | No | - | --preserve-root | |
reference | boolean | No | - | --reference | |
version | boolean | No | - | --version |
Basic usage with changes
chown ${changes} Display help message
chown --help chown is a command-line utility for change file owner and group.
chown -c {changes} -f {silent} -v {verbose} -h {no-dereference} -R {recursive}