Auto-mounting USB drives with exec turned on

Mikkel L. Ellertson mikkel at infinity-ltd.com
Tue Dec 19 15:18:36 UTC 2006


Tim wrote:
> Sam Tregar:
>>> Hello all.  I'm using Fedora Core 5 and I'm trying to solve a problem
>>> with USB drive auto-mounting.  When I plug in my USB drive it gets
>>> mounted with noexec turned on.  This is a problem for me because I use
> 
> Matthew Miller
>> That's not a problem, that's a solution. :)
> 
> ;-)  I had the opposite problem on FC4/FC5 (haven't tested it on FC6,
> yet), that a flash drive would get mounted with the X bit set on all
> files, so double-clicking various files would ask me about running
> instead of reading them.  I keep meaning to look into mount options for
> setting X on directories unsetting it on files...
> 
I get the x bit set on all wiles when ever I mount a FAT file
system. It is still set when using the noexec option, but the system
no longer tries to run them. It has something to do with the mapping
of permissions between Windows and Linux.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!




More information about the fedora-list mailing list