This commit is contained in:
ehpersonal38
2023-04-14 16:26:14 -04:00
parent c87d507b0b
commit 2be0b394ee
+1 -1
View File
@@ -9,7 +9,7 @@ my_dir=$HOME/BirdNET-Pi/scripts
# Sets proper permissions and ownership
#sudo -E chown -R $USER:$USER $HOME/*
#sudo chmod -R g+wr $HOME/*
find $HOME/Bird* -execdir sudo chmod g+wr {} \+
find $HOME/Bird* -type f ! -perm -g+wr -exec chmod g+wr {} + 2>/dev/null
find $HOME/Bird* -not -user $USER -execdir sudo -E chown $USER:$USER {} \+
chmod 666 ~/BirdNET-Pi/scripts/*.txt
chmod 666 ~/BirdNET-Pi/*.txt