Allow group to enter mysql data dir
That way my user within the mysql group can tail the query log. Default is 0700 which would prevent that.
This commit is contained in:
parent
ffc5121bb7
commit
9eeb1794db
|
@ -139,7 +139,17 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd = {
|
||||||
|
|
||||||
|
services = {
|
||||||
|
mysql.serviceConfig = {
|
||||||
|
# Allow group to access the folder,
|
||||||
|
# to allow users within group to tail log.
|
||||||
|
StateDirectoryMode = lib.mkForce "0710";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
tmpfiles.rules = [
|
||||||
# TODO: Improve handling of TYPO3 global configuration
|
# TODO: Improve handling of TYPO3 global configuration
|
||||||
# Current issue: The files are copied once.
|
# Current issue: The files are copied once.
|
||||||
# Changes are not reflected until reboot?
|
# Changes are not reflected until reboot?
|
||||||
|
@ -148,4 +158,6 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue