Update chmod.md

Add example avoiding `X`
coverage
Matthew Thompson 2017-11-29 19:05:58 -05:00 committed by GitHub
parent 474ca28ff1
commit 9d11a1a38e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -22,6 +22,6 @@
`chmod o=g {{file}}`
- Change permissions [-R]ecursively giving the [u]ser [r]ead, [w]rite, and e[X]ecute rights, and give [g]roup and [o]thers [r]ead and e[X]ecute rights but not [-w]rite rights:
- Change permissions [-R]ecursively giving [g]roup and [o]thers the abililty to [w]rite:
`chmod -R u+rwX,go+rX,go-w {{directory}}`
`chmod -R g+w,o+w {{directory}}`