mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-03 15:28:28 +00:00
Allow all users to read the version file
Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
parent
9840b42847
commit
97d136d1f4
1 changed files with 3 additions and 0 deletions
|
@ -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 {} \;
|
||||
|
|
Loading…
Add table
Reference in a new issue