diff options
| author | Yuriy Taraday <yuriy.taraday@tweag.io> | 2024-11-04 15:49:57 +0100 |
|---|---|---|
| committer | Yuriy Taraday <yuriy.taraday@tweag.io> | 2024-11-04 16:04:56 +0100 |
| commit | 64a6e8292aa39a664743d20b520173320dcea6bc (patch) | |
| tree | f18d59b9d36a8c74afea9cf5ef5a7ed7b3a0e568 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | 4a5e52829b6af98db554581170524095844daa35 (diff) | |
nixos/acme: Set /var/lib/acme permissions to 755
It was being created with the default home permissions of 700, and then
set to 755 at runtime by something either some script or systemd as
part of service startup.
It worked fine without sysusers, but when it's enabed with:
systemd.sysusers.enable = true;
systemd-tmpfiles is resetting permissions on each activation, which
breaks, for example, nginx reload, because it cannot load certificates
anymore, because it doesn't have any access to `/var/lib/acme`.
Fix this by setting `homeMode = "755";` explicitely so that it's set to
the final value from the beginning.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
