mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-22 15:20:14 +00:00
Logrotate config file needs to be owned by root
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
parent
2deadb2e4a
commit
d77dbf736c
2 changed files with 6 additions and 1 deletions
|
@ -16,6 +16,10 @@ chown -R pihole:pihole /etc/pihole /var/log/pihole
|
|||
chmod -R 0640 /var/log/pihole
|
||||
chmod -R 0660 /etc/pihole
|
||||
|
||||
# Logrotate config file need to be owned by root and must not be writable by group and others
|
||||
chown root:root /etc/pihole/logrotate
|
||||
chmod 0644 /etc/pihole/logrotate
|
||||
|
||||
# allow all users to enter the directories
|
||||
chmod 0755 /etc/pihole /var/log/pihole
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue