I have a shell script called boot.sh on an Ngnix server
I am trying to call it via PHP, but I don't think I have permissions.
How can I give www-data permission to run boot.sh - and only boot.sh
When trying sudo chown
or sudo chgrp
I am getting Operation Not Permitted
ps
. Look for password-less sudo. I've done it a few times and there are 2 or 3 ways to pull it off (all hacks). If anything cheat and copy boot.sh where you can get to it?