cheat/cheatsheets/chown
2013-09-21 13:13:16 -04:00

11 lines
223 B
Plaintext

# 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