perms
This commit is contained in:
@@ -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 {} \+
|
find $HOME/* -not -user $USER -execdir sudo chmod g+wr {} \+
|
||||||
chmod 666 ~/BirdNET-Pi/scripts/*.txt
|
chmod 666 ~/BirdNET-Pi/scripts/*.txt
|
||||||
chmod 666 ~/BirdNET-Pi/*.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.
|
# Create blank sitename as it's optional. First time install will use $HOSTNAME.
|
||||||
if ! grep SITE_NAME /etc/birdnet/birdnet.conf &>/dev/null;then
|
if ! grep SITE_NAME /etc/birdnet/birdnet.conf &>/dev/null;then
|
||||||
|
|||||||
Reference in New Issue
Block a user