Page 1 of 2 12 LastLast
Results 1 to 10 of 15

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

  1. #1
    Join Date
    Oct 2013
    Location
    europe
    Beans
    87
    Distro
    Lubuntu Development Release

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

    There must have been a change just recently. This has never happened before until I've completed the latest apt-get update/upgrade sequence.

    Don't ask me why, but for testing purposes, I had a couple of less-important binaries I didn't want to cram into my Ubuntu drives stored on an NTFS drive for some reason, and once in a blue moon I wanted to launch one of these and just used a symbolic link to it.

    Now I ALWAYS get 'Permission denied' whenever I try to launch an ELF binary off said drive.
    Not until I manually copy the binary to an ext3/4 partition the binary will execute again.

    Is it just me who is constantly getting that "Permission denied" thing now?

  2. #2
    Join Date
    Mar 2007
    Beans
    783

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

    what is
    Code:
    ls -lh /path/to/binary
    Registered Linux User: 450747 Registered Ubuntu User: 16269

  3. #3
    Join Date
    Oct 2013
    Location
    europe
    Beans
    87
    Distro
    Lubuntu Development Release

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

    Dunno what you're on about TBH...

    backup2 is partition label of NTFS drive.
    the_binary_to_be_executed is meant as a placeholder for a random ELF binary you want to execute.

    path is /media/backup2/stuff/linux/the_binary_to_be_executed

  4. #4
    Join Date
    Mar 2007
    Beans
    783

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

    So in a terminal type

    Code:
    ls -lh /media/backup2/stuff/linux/the_binary_to_be_executed
    Registered Linux User: 450747 Registered Ubuntu User: 16269

  5. #5
    Join Date
    Oct 2013
    Location
    europe
    Beans
    87
    Distro
    Lubuntu Development Release

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

    All entries are -rwxrwxrwx so octal 777, access for everyone (invariable; as usual with NTFS drives), owner and group = root.
    Last edited by syntaxerror74; April 9th, 2014 at 05:37 PM.

  6. #6
    Join Date
    Mar 2007
    Beans
    783

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

    does it execute if moved locally?
    Registered Linux User: 450747 Registered Ubuntu User: 16269

  7. #7
    Join Date
    Oct 2013
    Location
    europe
    Beans
    87
    Distro
    Lubuntu Development Release

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

    Define "locally"...I said once I copy it to a partition with a file system of the ext3, ext4 ... kind, it executes fine.

    Copying the binary to another directory within the NTFS partition has no effect. Permission denied.

  8. #8
    Join Date
    Apr 2012
    Beans
    5,867

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

    How is the NTFS partition mounted (what are the mount options)? How are you trying to execute it (from a terminal? double-clicking from a file manager?)

  9. #9
    Join Date
    Mar 2007
    Beans
    783

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

    Move it to your home directory provided that home is mounted normally and execute it there.
    Registered Linux User: 450747 Registered Ubuntu User: 16269

  10. #10
    Join Date
    Oct 2013
    Location
    europe
    Beans
    87
    Distro
    Lubuntu Development Release

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

    Quote Originally Posted by steeldriver View Post
    How is the NTFS partition mounted (what are the mount options)? How are you trying to execute it (from a terminal? double-clicking from a file manager?)
    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_permissions,blksize=4096)
    Nothing in there that could make me worry so far...?

    Yes, I am trying to execute it via terminal.

Page 1 of 2 12 LastLast

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
  •