-
-
Save gardner/439853815ac7d784bf2f to your computer and use it in GitHub Desktop.
Allow jenkins user and apache to modify files in webserver directory
This file contains hidden or 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
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