Last active
March 21, 2019 12:54
-
-
Save rootchips/7251fd3f9f6bf32f5eb2ea7e08c63edd to your computer and use it in GitHub Desktop.
www-data permission
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
[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