We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08a7713 commit ec4acabCopy full SHA for ec4acab
1 file changed
bash/ss-perms-nginx-config.txt
@@ -90,9 +90,8 @@ chmod 0755 /var/www/cache/nginx ## 0755 seems enough
90
chmod 0775 /var/www/html ## must be 0775 (0755 not enough)
91
chmod 0775 /var/www/logs ## 0755 should also work
92
chmod 0755 /var/www/meta ## must be 0755
93
-ss_chmod 0755 /var/www/sites ## must be 0755
94
-ss_chmod 0755 /var/www/sites/includes ## must be 0755
95
-ss_chmod 0755 /var/www/sites/error_pages ## must be 0755
+find /var/www/sites -type d -print0 | xargs -0 chmod 0755
+find /var/www/sites -type f -print0 | xargs -0 chmod 0644
96
97
## chmod files ##
98
ss_chmod 0640 /var/www/meta/.htpasswd ## must be 0640
0 commit comments