mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 12:40:56 +00:00
chown pihole log to pihole:pihole, rather than pihole:root
Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
parent
d26ea2b948
commit
51765b1f65
@ -1323,7 +1323,7 @@ CreateLogFile() {
|
|||||||
# set the permissions,
|
# set the permissions,
|
||||||
chmod 644 /var/log/pihole.log
|
chmod 644 /var/log/pihole.log
|
||||||
# and owners
|
# and owners
|
||||||
chown pihole:root /var/log/pihole.log
|
chown pihole:pihole /var/log/pihole.log
|
||||||
echo -e "${OVER} ${TICK} ${str}"
|
echo -e "${OVER} ${TICK} ${str}"
|
||||||
# Otherwise,
|
# Otherwise,
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user