Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Execution of ELF binaries off NTFS-formatted drive now denied?

  1. #11
    Join Date
    Apr 2012
    Beans
    7,116

    Re: Execution of ELF binaries off NTFS-formatted drive now denied?

    From man mount

    Code:
           noexec Do  not  allow  direct  execution of any binaries on the mounted
                  filesystem.  (Until recently it was  possible  to  run  binaries
                  anyway  using a command like /lib/ld*.so /mnt/binary. This trick
                  fails since Linux 2.4.25 / 2.6.0.)
    It may be the case that the gvfs-fuse automount defaults have changed (adding the noexec option) - you would need to look at the relevant changelogs I guess

  2. #12
    Join Date
    Oct 2013
    Location
    europe
    Beans
    155
    Distro
    Lubuntu Development Release

    Re: Execution of ELF binaries off NTFS-formatted drive now denied?

    Thank you very much! That's finally some distinct direction to search for.

    Yes I am sure, they have changed - probably for security reasons, which is why I chose this sub-forum.

    HOWEVER...I've just figured out that even my older fstab from end of last year does have the noexec option set.
    And yet I WAS able to run binaries from these partitions (which according to the noexec description should have been impossible)

    For that reason I am about to assume that noexec has never worked properly (i. e. ignoring the more secure setting) until recently when it got eventually fixed.
    Last edited by syntaxerror74; April 10th, 2014 at 09:39 PM.

  3. #13
    Join Date
    Mar 2007
    Beans
    790

    Re: Execution of ELF binaries off NTFS-formatted drive now denied?

    ok, called mount with no parameters and grep'd on my partition, this is the result:
    Code:

    type fuseblk (rw,noexec,nosuid,nodev,allow_other,default_permis sions,blksize=4096)

    Nothing in there that could make me worry so far...?
    might google on that noexec.
    Registered Linux User: 450747 Registered Ubuntu User: 16269

  4. #14
    Join Date
    Oct 2013
    Location
    europe
    Beans
    155
    Distro
    Lubuntu Development Release

    Re: Execution of ELF binaries off NTFS-formatted drive now denied?

    Yeah...or read 2 posts above yours instead.

  5. #15
    Join Date
    Mar 2007
    Beans
    790

    Re: Execution of ELF binaries off NTFS-formatted drive now denied?

    Wonder how I missed it.
    Registered Linux User: 450747 Registered Ubuntu User: 16269

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •