mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-05-10 18:04:13 +02:00
Add trailing / to directories
Signed-off-by: casperklein <casperklein@users.noreply.github.com>
This commit is contained in:
parent
9050e47049
commit
9b4502a7a9
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,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
|
||||
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 {} +
|
||||
# Set all files (except TLS-related ones) to u+rw g+r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue