Hey there,
i currently am experiencing an Issue with the renewal Service for my Let’s Encrypt Certs.
For debugging Purposes i am right now trying:
security.acme.useRoot = true;
security.acme.defaults.enableDebugLogs = true;
and still got the issue:
+ chmod -R u=rwX,g=,o= accounts/.
chmod: changing permissions of 'accounts/./acme-v02.api.letsencrypt.org': Operation not permitted
chmod: changing permissions of 'accounts/./acme-v02.api.letsencrypt.org/<redacted>': Operation not permitted
chmod: changing permissions of 'accounts/./acme-v02.api.letsencrypt.org/<redacted>/keys': Operation not permitted
the current permission of the folder is as follow:
drwx--S--- 3 root nginx /var/lib/acme/.lego/accounts/<redacted>/acme-v02.api.letsencrypt.org
(before changing security.acme.useRoot to true the user still was “acme”)
my initial guess is that the PR nixos/acme: Refactor setup process by m1cr0man · Pull Request #355087 · NixOS/nixpkgs · GitHub somehow broke it, but can’t explain why, since manually running the chmod works