From b59ab5852ae31ec8f8d642593193bfbf646372e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Mon, 24 Feb 2025 15:59:11 +0100 Subject: [PATCH] Add missing trailing / when setting permissions of /etc/pihole MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- advanced/Templates/pihole-FTL-prestart.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/Templates/pihole-FTL-prestart.sh b/advanced/Templates/pihole-FTL-prestart.sh index c604d5d4..f0bbe09a 100755 --- a/advanced/Templates/pihole-FTL-prestart.sh +++ b/advanced/Templates/pihole-FTL-prestart.sh @@ -25,7 +25,7 @@ chmod 0755 /etc/pihole /var/log/pihole # allow pihole to access subdirs in /etc/pihole (sets execution bit on dirs) # credits https://stackoverflow.com/a/11512211 -find /etc/pihole -type d -exec chmod 0755 {} \; +find /etc/pihole/ -type d -exec chmod 0755 {} \; # Touch files to ensure they exist (create if non-existing, preserve if existing) [ -f "${FTL_PID_FILE}" ] || install -D -m 644 -o pihole -g pihole /dev/null "${FTL_PID_FILE}"