Skip to content

Instantly share code, notes, and snippets.

@bordeo
Last active May 26, 2016 10:26
Show Gist options
  • Save bordeo/278b4d81c589850270788d3d572c36ac to your computer and use it in GitHub Desktop.
Save bordeo/278b4d81c589850270788d3d572c36ac to your computer and use it in GitHub Desktop.
find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} \;
find var vendor pub/static pub/media app/etc -type d -exec chmod g+ws {} \;
chown -R :www-data .
add
umask 002
to you dotfile. It let create new file and folder with group write permissions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment