e-sailing / openplotter-avnav

openplotter-avnav
GNU General Public License v3.0
5 stars 5 forks source link

v2.1.4 sound.sh: permission denied #10

Open W-Geronius opened 3 years ago

W-Geronius commented 3 years ago

Based on image OP2+moitessier I had to reinstall OP2 + AvNav from scratch as my system was messed up. AvNav installed nicely with no issues to be found

However AvNav alarm sound command (as predefined in AvNav config) lacks correct permissions. Alarms are played back on client but not on the pi

pi@BOP2010:/usr/lib/avnav/sounds $ /usr/lib/python3/dist-packages/openplotterAvnav/data/sound.sh 90% waypointAlarm.mp3 
bash: /usr/lib/python3/dist-packages/openplotterAvnav/data/sound.sh: Permission denied
pi@BOP2010:/usr/lib/avnav/sounds $ 

manually granting execute permissions to sound.sh fixed the problem