I'm not sure just how new you are, so I'll guess:

This sounds like a simple permissions issue. You need to instruct the system to permit you to execute the file as a program:

chmod u+x ./run.sh
./run.sh

Does that do the trick?

--Jon

On Sep 25, 2012 12:09 PM, "kfcandroid" <kfc.android@gmail.com> wrote:
Hi all,

I'm facing a problem while flashing to the NAND.
while I have all the images and script saved in the SD card's /root/images
folder,
I boot up my Gumstix from SD card, logged in as root:
/overo login: root/
root@overo:~#

and then I navigate to the folder, tried to run the .sh file with this
instruction:
root@overo:~/images#/ ./run.sh/

but I got this error message:
-sh: ./run.sh: Permission denied


Is there anything I should fix before running the script?
I am totally new to this world, so detailed instruction would be highly
appreciated :)

Thanks in advance!!

James




--
View this message in context: http://gumstix.8.n6.nabble.com/Writing-images-to-onboard-nand-tp649052p4965498.html
Sent from the Gumstix mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users