Prechádzať zdrojové kódy

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

chown: reference file
Romain Prieto 10 rokov pred
rodič
commit
9203e186d7
1 zmenil súbory, kde vykonal 4 pridanie a 0 odobranie
  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}}`