Revert "Revert "perms""

This reverts commit 11b6c11e49.
This commit is contained in:
ehpersonal38
2023-03-29 20:51:05 -04:00
parent 11b6c11e49
commit 5f4fd66835
+1 -1
View File
@@ -13,7 +13,7 @@ find $HOME/* -not -user $USER -execdir sudo -E chown $USER:$USER {} \+
find $HOME/* -not -user $USER -execdir sudo chmod g+wr {} \+
chmod 666 ~/BirdNET-Pi/scripts/*.txt
chmod 666 ~/BirdNET-Pi/*.txt
chmod -R a+w $HOME/BirdNET-Pi/scripts/*.php
find $HOME/BirdNET-Pi -path "$HOME/BirdNET-Pi/birdnet" -prune -o -type f ! -perm /o=w -exec chmod a+w {} \;
# Create blank sitename as it's optional. First time install will use $HOSTNAME.
if ! grep SITE_NAME /etc/birdnet/birdnet.conf &>/dev/null;then