Created
November 24, 2016 11:19
-
-
Save simongregory/3f055a5b16f778d145c2f6f7309c9873 to your computer and use it in GitHub Desktop.
chmod extended attributes on os x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use -e to describe | |
ls -el | |
#ie: | |
#-rw-r--r--+ 1 simon staff 25063 14 Nov 20:32 index.html | |
# 0: group:everyone deny delete | |
# 1: group:admin allow read,readattr,readextattr,readsecurity | |
# Then recursively remove with | |
chmod -R -a "group:everyone deny delete" . | |
chmod -R -a "group:admin allow read,readattr,readextattr,readsecurity" . | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment