Results 1 to 5 of 5

Thread: Not possible to execute files on NTFS partition

  1. #1
    Join Date
    Apr 2009
    Beans
    15

    Not possible to execute files on NTFS partition

    Hi,

    I tried to execute a file on a NTFS partition and it tells me Permission denied.

    This is the file I want to execute:
    -rwxrwxrwx 1 root root 5064 Jan 17 09:47 mvn*

    This is the entry in the /etc/fstab file for the partition:
    /dev/sda5 /media/Work ntfs nls=iso8859-1,users,umask=000,user 0 0

    I cannot see why I shouldn't be able to execute files on this partition?

    Thanks,
    sb

  2. #2
    Join Date
    Oct 2005
    Location
    Syracuse, NY
    Beans
    659
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: Not possible to execute files on NTFS partition

    **IGNORE THAT**

    jerome1232 caught it.
    Last edited by xyzzyman; April 28th, 2012 at 10:28 AM.

  3. #3
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Not possible to execute files on NTFS partition

    Quote Originally Posted by sirbender View Post
    Hi,

    I tried to execute a file on a NTFS partition and it tells me Permission denied.

    This is the file I want to execute:
    -rwxrwxrwx 1 root root 5064 Jan 17 09:47 mvn*

    This is the entry in the /etc/fstab file for the partition:
    /dev/sda5 /media/Work ntfs nls=iso8859-1,users,umask=000,user 0 0

    I cannot see why I shouldn't be able to execute files on this partition?

    Thanks,
    sb
    It's because your mounting it with the users option, which throws in noexec.

    Adjust that fstab entry to look like this. (addition in blue)

    Code:
    /media/Work  ntfs nls=iso8859-1,users,umask=000,user,exec 0  0
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

  4. #4
    Join Date
    Apr 2009
    Beans
    15

    Re: Not possible to execute files on NTFS partition

    Thanks a lot!!!

    Is there some good tutorial you know where I learn what all those commands in the fstab mean and maybe a little more about mounting, etc.?

    Cheers,
    sb

  5. #5
    Join Date
    Dec 2007
    Location
    Idaho
    Beans
    4,976
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Not possible to execute files on NTFS partition

    There's a write up on the Ubuntu Wiki HERE It's not all inclusive but it covers the common stuff and gives usage examples. It's seems a bit dated but still relevant.
    "You can't expect to hold supreme executive power just because some watery tart lobbed a sword at you"

    "Don't let your mind wander -- it's too little to be let out alone."

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
  •