12 lines
224 B
Plaintext
Raw Normal View History

2013-09-11 00:33:55 -03:00
# Change file owner
chown user file
# Change file owner and group
chown user:group file
# Change owner recursively
chown -R user directory
2013-09-21 13:13:16 -04:00
# Change ownership to match another file
chown --reference=/path/to/ref_file file