chgrp: fix typo and clarify examples. (#2738)

This commit is contained in:
Marco Bonelli 2019-01-30 12:16:17 +01:00 committed by Starbeamrainbowlabs
parent c90ed14a96
commit 1064ba26db

View File

@ -2,18 +2,18 @@
> Change group ownership of files and folders.
- Change the owner of a file/folder:
- Change the owner group of a file/folder:
`chgrp {{group}} {{path/to/file}}`
- Recursively change the owner of a folder and its contents:
- Recursively change the owner group of a folder and its contents:
`chgrp -R {{group}} {{path/to/folder}}`
- Change the owner of a symbolic link:
- Change the owner group of a symbolic link:
`chgrp -h {{user}} {{path/to/symlink}}`
`chgrp -h {{group}} {{path/to/symlink}}`
- Change the owner of a file/folder to match a reference file:
- Change the owner group of a file/folder to match a reference file:
`chgrp --reference={{path/to/reference_file}} {{path/to/file}}`