3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #7482 from qknight/mysql_socket_permissions

/run/mysqld now 0755 (instead 0700)
This commit is contained in:
Joachim Schiele 2015-05-07 01:55:00 +02:00
commit 7aed6ddbb4

View file

@ -176,11 +176,11 @@ in
touch /tmp/mysql_init
fi
mkdir -m 0700 -p ${cfg.pidDir}
mkdir -m 0755 -p ${cfg.pidDir}
chown -R ${cfg.user} ${cfg.pidDir}
# Make the socket directory
mkdir -m 0700 -p /run/mysqld
mkdir -m 0755 -p /run/mysqld
chown -R ${cfg.user} /run/mysqld
'';