diff --git a/clone/utility/sats-loop b/clone/utility/sats-loop index 5f6738c..d2de912 100644 --- a/clone/utility/sats-loop +++ b/clone/utility/sats-loop @@ -5,5 +5,15 @@ if [ ! -e /target/sync ]; then exit 1; fi; -# [1] Propagate script to DAEMON +# [1] Override permissions if not +sudo chown sats:pi /home/sats/satsd/source; +sudo chown sats:pi /home/sats/satsd/source/daemon; +sudo chown -R sats:pi /home/sats/satsd/log/; + +sudo chmod 750 /home/sats/satsd/source; +sudo chmod 750 /home/sats/satsd/source/daemon; +sudo chmod -R 770 /home/sats/satsd/log/; + + +# [2] Propagate script to DAEMON /bin/bash /home/sats/satsd/source/daemon | sudo -u sats tee -a /home/sats/satsd/log/daemon.log; \ No newline at end of file