Skip to content

Instantly share code, notes, and snippets.

@davebeach
Last active September 14, 2016 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davebeach/9a236386ae46907f3714b440b5c5a9dd to your computer and use it in GitHub Desktop.
Save davebeach/9a236386ae46907f3714b440b5c5a9dd to your computer and use it in GitHub Desktop.
Unix Permissions

##Key Permissions

*OWNER:READ GROUP:READ USER:READ chmod 0444

*OWNER:READ WRITE GROUP:READ USER:NONE chmod 0640

*OWNER:READ-WRITE-EXECUTE GROUP:READ-WRITE-EXECUTE USER:READ-EXECUTE chmod 0775

*SETGID append 2 to front, this makes the referenced path adopt the security for new items. Only works if group has execute chmod 2775 PATH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment