Allow all users to read the version file

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König 2025-02-24 20:03:44 +01:00
parent 9840b42847
commit 97d136d1f4
No known key found for this signature in database

View file

@ -23,6 +23,9 @@ chmod 0644 /etc/pihole/logrotate
# allow all users to enter the directories
chmod 0755 /etc/pihole /var/log/pihole
# allow all users read version file
chmod 0664 /etc/pihole/versions
# 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 {} \;