Skip to content

Commit 61a5c51

Browse files
committed
Restrict mysql package log chmod scope
1 parent b312759 commit 61a5c51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bash/ss-perms-mysql-packages.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ chown root:root /etc/mysql/mysql.conf.d/mysqld.cnf
8888
chmod 0755 /etc/mysql/my.cnf
8989

9090
chown mysql:mysql /var/www/logs/mysql*.log*
91-
chmod 0644 /var/www/logs/*.log ## 6755 should also work
91+
chmod 0640 /var/www/logs/mysql*.log* ## must be 0640
9292

9393
## SAFE MODE reset permissions ##
9494
# ss_mkdir /var/run/mysqld

0 commit comments

Comments
 (0)