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 the drive for coding and I need to be able to run scripts on it. I can fix it by manully remounting, but I'd rather fix the system to automatically mount with exec on.
I've looked at /etc/fstab, /etc/auto.* and played with the HAL XML configs. Nothing I do seems to have any impact at all.
Thanks for the help!
-sam
On Mon, 18 Dec 2006 16:22:42 -0500 (EST) Sam Tregar sam@tregar.com wrote:
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.
Look in /etc/security/console.perms.d
On Mon, Dec 18, 2006 at 04:22:42PM -0500, Sam Tregar wrote:
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
That's not a problem, that's a solution. :)
On Mon, 18 Dec 2006, Frank Cox wrote:
On Mon, 18 Dec 2006 16:22:42 -0500 (EST) Sam Tregar sam@tregar.com wrote:
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.
Look in /etc/security/console.perms.d
Fascinating. What am I looking for? I don't see anything there that looks like it should match my USB drive. It's /dev/sda1.
-sam
On Mon, 18 Dec 2006 16:31:01 -0500 (EST) Sam Tregar sam@tregar.com wrote:
Fascinating. What am I looking for? I don't see anything there that looks like it should match my USB drive. It's /dev/sda1.
I'm thinking that you may have to create a new entry for your USB drive.
man console.perms will give you a bit of information about that, and you could use the existing entries for a pattern.
On Mon, Dec 18, 2006 at 15:28:20 -0600, Frank Cox theatre@sasktel.net wrote:
On Mon, 18 Dec 2006 16:22:42 -0500 (EST) Sam Tregar sam@tregar.com wrote:
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.
Look in /etc/security/console.perms.d
Are you sure about that? Wouldn't this be a udev thing? Once the device is mounted noexec, I don't see how console permissions are going to work around that.
On Mon, 18 Dec 2006 15:56:18 -0600 Bruno Wolff III bruno@wolff.to wrote:
Are you sure about that? Wouldn't this be a udev thing? Once the device is mounted noexec, I don't see how console permissions are going to work around that.
Actually, no I'm not sure about that. And now that you mention it, I'm pretty sure that you're right.
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...
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
On Mon, 18 Dec 2006, Bruno Wolff III wrote:
Are you sure about that? Wouldn't this be a udev thing? Once the device is mounted noexec, I don't see how console permissions are going to work around that.
Tell me more about this "udev" you speak of. Do you have any idea how to configure it to mount things with exec turned on?
-sam