Merge pull request #24532 from nh2/fix-24529-acme-dir-permissions-master
acme: Use `chown -R` for challenges directory. Fixes #24529.
This commit is contained in:
commit
0cc0f2d465
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user