mirror of
https://github.com/Erreur32/cheat.git
synced 2024-11-17 17:35:25 +01:00
11 lines
224 B
Text
11 lines
224 B
Text
# Change file owner
|
|
chown user file
|
|
|
|
# Change file owner and group
|
|
chown user:group file
|
|
|
|
# Change owner recursively
|
|
chown -R user directory
|
|
|
|
# Change ownership to match another file
|
|
chown --reference=/path/to/ref_file file
|