Skip to content

Instantly share code, notes, and snippets.

@gardner
Last active August 29, 2015 14:01
Show Gist options
  • Save gardner/439853815ac7d784bf2f to your computer and use it in GitHub Desktop.
Save gardner/439853815ac7d784bf2f to your computer and use it in GitHub Desktop.
Allow jenkins user and apache to modify files in webserver directory
cd /Library/WebServer/Documents
sudo chown -R _www:_www .
sudo chmod -R u=rwX,g=rwX,o=r .
sudo /usr/sbin/dseditgroup -o edit -a jenkins -t user _www
sudo chmod -R +a "_www allow delete,chown,list,search,add_file,add_subdirectory,delete_child,file_inherit,directory_inherit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment