Skip to content

Instantly share code, notes, and snippets.

@rootchips
Last active March 21, 2019 12:54
Show Gist options
  • Save rootchips/7251fd3f9f6bf32f5eb2ea7e08c63edd to your computer and use it in GitHub Desktop.
Save rootchips/7251fd3f9f6bf32f5eb2ea7e08c63edd to your computer and use it in GitHub Desktop.
www-data permission
[root@chips:~]# chown -R www-data:www-data .
[root@chips:~]# find . -type f -exec chmod 644 {} \;
[root@chips:~]# find . -type d -exec chmod 755 {} \;
[root@chips:~]# chgrp -R www-data storage bootstrap/cache
[root@chips:~]# chmod -R ug+rwx storage bootstrap/cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment