mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-07 19:55:09 +02:00
Re-add comment about execute bit on directory
Co-authored-by: Dominik <DL6ER@users.noreply.github.com> Signed-off-by: MichaIng <micha@dietpi.com>
This commit is contained in:
parent
0b380d671d
commit
232d581916
@ -12,6 +12,7 @@ FTL_PID_FILE="$(getFTLConfigValue files.pid)"
|
||||
# Ensure that permissions are set so that pihole-FTL can edit all necessary files
|
||||
mkdir -p /var/log/pihole
|
||||
chown -R pihole:pihole /etc/pihole /var/log/pihole
|
||||
# allow pihole to access subdirs in /etc/pihole (sets execution bit on dirs)
|
||||
find /etc/pihole/ /var/log/pihole/ -type d -exec chmod 0755 {} +
|
||||
find /etc/pihole/ /var/log/pihole/ -type f ! \( -name '*.pem' -o -name '*.crt' \) -exec chmod 0640 {} +
|
||||
find /etc/pihole/ /var/log/pihole/ -type f -name '*.pem' -o -name '*.crt' -exec chmod 0600 {} +
|
||||
|
Loading…
x
Reference in New Issue
Block a user