Re: Unable to execute from USB Drive (FC2)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 01, 2005 at 10:20:34AM -0500, Mike McCarty wrote:
> I'll try again with a shorter message.
> I'm having problems executing programs from a mounted USB drive.
> I mount /dev/sda1 to /dev/usb and create some directories
> over there. All paths have execute access all the way down
> When I try to execute a program built on the USB drive, I get
> "bash: /mnt/usb/jmccarty/hello: Permission denied".
> Is this because it is a "removable medium"? I just checked, and
> I get the same error from a floppy.

Yes, very likely. The "user" flag to mount (look in /etc/fstab) implies the
option "noexec". Add the option "exec" and it should work as you expected.


-- 
Matthew Miller           mattdm@xxxxxxxxxx        <http://www.mattdm.org/>
Boston University Linux      ------>                <http://linux.bu.edu/>
Current office temperature: 76 degrees Fahrenheit.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux