1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 14:58:08 +00:00

Set owner/group of /etc/pihole to pihole

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2023-10-09 22:05:01 +02:00
parent 679aab10d0
commit 22863845a0
No known key found for this signature in database

View File

@ -2141,8 +2141,8 @@ main() {
if [[ "${useUpdateVars}" == false ]]; then
# Display welcome dialogs
welcomeDialogs
# Create directory for Pi-hole storage
install -d -m 755 /etc/pihole/
# Create directory for Pi-hole storage (/etc/pihole/)
install -o pihole -g pihole -d -m 660 "${PI_HOLE_CONFIG_DIR}"
# Determine available interfaces
get_available_interfaces
# Find interfaces and let the user choose one