This is a discussion on Why can't I execute a binary from a USB flash card? within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hi When I try to execute a binary from a directory in a flash card (SD, CF etc makes ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi When I try to execute a binary from a directory in a flash card (SD, CF etc makes no difference) that has been reformatted to ext2 I get the following error: spirit$ ./scl -ksh: ./scl: cannot execute [Permission denied] even tho all the execute bits are set. I can't even run a binary when logged in as root. As there a kernal limitation that prevents this from happening (paging issues perhaps) or is it a USB/SCSI subsystem setup issue? Thanks for any help B2003 |
| |||
| boltar2003@yahoo.co.uk writes: > Hi > > When I try to execute a binary from a directory in a flash card (SD, > CF etc makes no difference) that has been reformatted to ext2 I get > the following error: > > spirit$ ./scl > -ksh: ./scl: cannot execute [Permission denied] > > even tho all the execute bits are set. I can't even run a binary when > logged in as root. As there a kernal limitation that prevents this > from happening (paging issues perhaps) or is it a USB/SCSI subsystem > setup issue? Perhaps you've mounted it with the noexec option. It's not uncommon to do that with removable media. -- Måns Rullgård mru@inprovide.com |
| |||
| "Måns Rullgård" <mru@inprovide.com> wrote in message news:yw1xfyvzqeqm.fsf@ford.inprovide.com... > boltar2003@yahoo.co.uk writes: > >> Hi >> >> When I try to execute a binary from a directory in a flash card (SD, >> CF etc makes no difference) that has been reformatted to ext2 I get >> the following error: >> >> spirit$ ./scl >> -ksh: ./scl: cannot execute [Permission denied] >> >> even tho all the execute bits are set. I can't even run a binary when >> logged in as root. As there a kernal limitation that prevents this >> from happening (paging issues perhaps) or is it a USB/SCSI subsystem >> setup issue? > > Perhaps you've mounted it with the noexec option. It's not uncommon > to do that with removable media. What does "mount" say about the current configuration? |