Skip to content

Commit

Permalink
Merge pull request #24532 from nh2/fix-24529-acme-dir-permissions-master
Browse files Browse the repository at this point in the history
acme: Use `chown -R` for challenges directory. Fixes #24529.
  • Loading branch information
domenkozar committed Apr 1, 2017
2 parents b78f16b + ee0f3e7 commit 0cc0f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/security/acme.nix
Expand Up @@ -178,7 +178,7 @@ in
path = [ pkgs.simp_le ];
preStart = ''
mkdir -p '${cfg.directory}'
chown '${data.user}:${data.group}' '${cfg.directory}'
chown -R '${data.user}:${data.group}' '${cfg.directory}'
if [ ! -d '${cpath}' ]; then
mkdir '${cpath}'
fi
Expand Down

0 comments on commit 0cc0f2d

Please sign in to comment.