All commands
chown
Topic: Permissions and ownership
Program: chown
Changes the owner and group of files.
Package: besitzer
Usage
chown [OPTION]... OWNER FILE...
Description
Give each FILE a new owner and/or group: OWNER, OWNER:GROUP, :GROUP, or OWNER: for the login group of OWNER. Only root may hand files to someone else; the owner may switch the group to one of their own groups.
Options in the simulator
-
-c, --changes report each file whose owner or group really changes -
-f, --silent keep quiet about most errors -
-v, --verbose report every file, changed or not -
-h, --no-dereference change a symbolic link itself, not the file it points to -
--reference=RFILE copy the owner and group of RFILE (a symlink counts as its target) -
-R, --recursive also change everything inside directories, directories last -
--help show this help and exit
8 more options of the real program, not in the simulator yet
-
--dereference not in the simulator yet On a real system it changes the target of each symbolic link with -R; without -R that is the default anyway.
-
--from needs a value not in the simulator yet On a real system it only changes files that have the given current owner or group.
-
--no-preserve-root not in the simulator yet On a real system it protects or allows the root directory / with -R; the simulator treats / like any directory.
-
--preserve-root not in the simulator yet On a real system it protects or allows the root directory / with -R; the simulator treats / like any directory.
-
-H not in the simulator yet On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).
-
-L not in the simulator yet On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).
-
-P not in the simulator yet On a real system it decides which symbolic links -R follows; the simulator follows none with -R (like -P).
-
--version not in the simulator yet On a real system it prints the version of the program.
Where you learn it
No lesson yet.
All commands