Browse Source

Merge pull request #226 from akoenig/chown-reference-file

chown: reference file
Romain Prieto 10 năm trước cách đây
mục cha
commit
9203e186d7
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      pages/common/chown.md

+ 4 - 0
pages/common/chown.md

@@ -17,3 +17,7 @@
 - change the owner of a symbolic link
  
 `chown -h {{user}} {{path/to/symlink}}`
+
+- use the owner and group of a reference file and apply those values to another file
+
+`chown --reference={{reference-file}} {{path/to/file}}`