Can't execute binaries in a mounted ext filesystem, why?
I recently moved some files from ntfs to ext4 in my external disk. I am not able to run executable files after I convert it to ext4.
-
Below is the fstab entry I use to mount the ext4 partition.
UUID={UUID} {path} ext4 rw,async,suid,dev,exec,user 1 1
-
Below is the permission for the file I am trying to run
-rwxrwxrwx 1 {myid} {myid} 73015 Oct 9 09:38 eclipse
When I try to run the program from command line, I get following error message bash: ./eclipse: Permission denied
When I try to run the program from Nautilus, I get a message that 'There is no application installed for executable files'.
I checked the permissions tab in the file properties and the 'Allow executing file as program' bit is set.
The issue got resolved by changing the mount option from 'user' to 'nouser'. I have not idea why though...
I had the same problem and solved it by adding "exec" to the entry in /etc/fstab, keeping "user." There are many combinations of settings here, but this is one set that works.
UUID="4blahblah4" /160/ ext4 user,exec,auto,nofail 0 0