From: Peymaneh Date: Sat, 17 Dec 2022 16:22:55 +0100 Subject: postinst.sh: Do not call chown recursively forwarded: not-needed --- dist/scripts/postinstall.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/dist/scripts/postinstall.sh +++ b/dist/scripts/postinstall.sh @@ -22,7 +22,7 @@ # Add log directory with correct permissions if [ ! -d /var/log/caddy ]; then mkdir -p /var/log/caddy - chown -R caddy:caddy /var/log/caddy + chown caddy:caddy /var/log/caddy fi fi @@ -52,4 +52,4 @@ deb-systemd-invoke try-restart caddy-api.service >/dev/null || true fi fi -fi \ No newline at end of file +fi