Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Properly set permissions for a Craft CMS install, including ensuring that files are all g-x. Set CHOWN_USER, CHOWN_GROUP, and BASE_DIR to whatever is appropriate, add directories that need to be writeable by the web server to DIRS[], then execute: sudo ./set-project-perms.sh PROJECT_NAME
This is now part of craft-scripts:
https://github.com/nystudio107/craft-scripts
@3noch

This comment has been minimized.

Show comment
Hide comment
@3noch

3noch Dec 3, 2016

craft/app needs only be writeable if you are using auto-update. This is important because making that writeable can be a vulnerability.

3noch commented Dec 3, 2016

craft/app needs only be writeable if you are using auto-update. This is important because making that writeable can be a vulnerability.

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