Permissions changed for /etc/pihole and cleaned up some output
This commit is contained in:
@ -130,8 +130,8 @@ function gravity_collapse() {
|
||||
# Will update later, needed for existing installs, new installs should
|
||||
# create this directory as non-root
|
||||
$SUDO chmod 777 $piholeDir
|
||||
find "$piholeDir" -type f -exec $SUDO chmod 666 {} \; & spinner $!
|
||||
echo "."
|
||||
$SUDO chown root:root $piholeDir
|
||||
echo "..."
|
||||
else
|
||||
echo -n "::: Creating pihole directory..."
|
||||
mkdir $piholeDir & spinner $!
|
||||
|
Reference in New Issue
Block a user