Announcement

Collapse
No announcement yet.

How do I automount without the noexec option?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How do I automount without the noexec option?

    Hello,

    I have an external USB harddrive. When I plug it into my laptop, HAL (or whatever component is responsible) mounts ist on /media/sdc1. That's great!

    What's not so great: The USB drive is mounted with the "noexec" mount option enabled which prevents me from running software of this drive.

    Now, how can I change this behaviour? I do not want the noexec flag at all, so it's okay to disable it entirely, not just for this particular USB drive (I might get more ... :-D).

    Thanks for your help!

    Kind regards
    Martin Eisenhardt
    Last edited by Snowhog; Sep 08, 2019, 12:27 PM.

    #2
    Re How do I automount without the noexec option?

    If it always shows up at /dev/sdc1, just enter it in your fstab with the exec option. If it sometimes appears as sd[abdefgh, etc], you'll need to use a "builtin persitent naming scheme". See this udev rules howto. It's a lot easier than it looks.
    Last edited by Snowhog; Sep 08, 2019, 12:27 PM.

    Comment


      #3
      Re How do I automount without the noexec option?

      I've never had to deal with noexec--either putting it in or taking it out. But these two tutorials should solve your problem:
      http://www.psychocats.net/ubuntu/mountwindows
      http://www.psychocats.net/ubuntu/mountlinux.html
      Last edited by Snowhog; Sep 08, 2019, 12:28 PM.
      Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

      Comment

      Working...
      X