diff --git a/nixos/modules/services/databases/mysql.nix b/nixos/modules/services/databases/mysql.nix index 05b13492052a..b5919047cc11 100644 --- a/nixos/modules/services/databases/mysql.nix +++ b/nixos/modules/services/databases/mysql.nix @@ -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 '';