From 11b6c11e4994bdfb079f101551b1ee1060638b8e Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Wed, 29 Mar 2023 20:44:30 -0400 Subject: [PATCH] Revert "perms" This reverts commit 90e82c948fe151ba8e4ba23237c267ba1bd47e8e. --- scripts/update_birdnet_snippets.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/update_birdnet_snippets.sh b/scripts/update_birdnet_snippets.sh index 813bf4d..8114da5 100755 --- a/scripts/update_birdnet_snippets.sh +++ b/scripts/update_birdnet_snippets.sh @@ -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 -find $HOME/BirdNET-Pi -path "$HOME/BirdNET-Pi/birdnet" -prune -o -type f ! -perm /o=w -exec chmod a+w {} \; +chmod -R a+w $HOME/BirdNET-Pi/scripts/*.php # Create blank sitename as it's optional. First time install will use $HOSTNAME. if ! grep SITE_NAME /etc/birdnet/birdnet.conf &>/dev/null;then