Skip to content

Instantly share code, notes, and snippets.

@synackme
Created February 7, 2014 07:07
Show Gist options
  • Save synackme/8858431 to your computer and use it in GitHub Desktop.
Save synackme/8858431 to your computer and use it in GitHub Desktop.
In order to retain full ownership of the files and directories but give access to Apache, one wants to use the ACL feature built into Mac OS X. By using sudo chmod -R +a '_www allow read,write,delete,add_file,add_subdirectory,file_inherit,directory_inherit' <dir>, you’ll grant the required permissions to Apache while keeping everything else inta…
sudo chmod -R +a '_www allow read,write,delete,add_file,add_subdirectory,file_inherit,directory_inherit' <dir>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment