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 if [[ "${useUpdateVars}" == false ]]; then
# Display welcome dialogs # Display welcome dialogs
welcomeDialogs welcomeDialogs
# Create directory for Pi-hole storage # Create directory for Pi-hole storage (/etc/pihole/)
install -d -m 755 /etc/pihole/ install -o pihole -g pihole -d -m 660 "${PI_HOLE_CONFIG_DIR}"
# Determine available interfaces # Determine available interfaces
get_available_interfaces get_available_interfaces
# Find interfaces and let the user choose one # Find interfaces and let the user choose one