Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Can't run a bash script from USB drive (http://www.linux-archive.org/centos/118597-cant-run-bash-script-usb-drive.html)

MHR 07-04-2008 02:10 AM

Can't run a bash script from USB drive
 
I just tried to run a bash script (called "whose") from my USB drive
and I get this:

bash: /mt/bin/whose: /bin/bash: bad interpreter: Permission denied

I did some googling and found that this is because my USB drive is
mounted with noexec permission. When I was running FC8, this was not
the case.

How can I control this (i.e., allow 'exec' on my USB drive(s))?

Thanks

mhr
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 06:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.