Thread: PAN & Os2008
View Single Post
Posts: 9 | Thanked: 0 times | Joined on Jan 2008
#55
Originally Posted by nilchak View Post
Did you remember to grant execute permission while as root to the script ?

so essentially
> sudo gainroot
> cd < to directory where script is stored>
> ls -l - to check the presence of the pan_start.sh file in the listed files
> chmod a+x pan_start.sh - provided that is the name of the script file
> ./pan_start.sh

that should get the script running
I run the script under root. I then cd to /media/mmc1/
ls -l shows the file pan_start.sh is in the memory card
If I do chmod a+x pan_start.sh and then try to run the script, it then says:

/bin/sh: pan_start.sh: not found


If instead of chmod a+x pan_start.sh I use chmod +x pan_start.sh, then I end up with

/bin/sh: permission denied




Last edited by juanzone; 2008-02-09 at 21:58.