瀏覽代碼

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

chown: reference file
Romain Prieto 10 年之前
父節點
當前提交
9203e186d7
共有 1 個文件被更改,包括 4 次插入0 次删除
  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}}`