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 ae670d5 commit cb4f174Copy full SHA for cb4f174
1 file changed
bash/ss-perms-nginx-config.txt
@@ -102,8 +102,8 @@ if [ ! -f "/var/www/logs/nginx-error.log" ]; then ss_touch "/var/www/logs/nginx-
102
if [ ! -f "/var/www/logs/nginx-access.log" ]; then ss_touch "/var/www/logs/nginx-access.log"; fi
103
104
## reset permissions ##
105
-ss_chown www-data:www-data /var/www/logs/nginx*.log
106
-ss_chmod 0644 /var/www/logs/nginx*.log ## 0755 should also work
+ss_chown root:www-data /var/www/logs/nginx*.log ## must be root:www-data
+ss_chmod 0660 /var/www/logs/nginx*.log ## must be 0660
107
108
## ADD perms for Nginx submodules here... Adminer, etc ##
109
## DO IT HERE
0 commit comments