Skip to content

Instantly share code, notes, and snippets.

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 ./ PROJECT_NAME
This is now part of craft-scripts:

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.