I'm baffled. I've looked around for awhile on this but nobody seems to have quite the issue I do.
I have an ntfs partition for all of my stuff, and I want to run some programs off of it. However, I keep getting Permission denied.
Very well, I'll try sudo ./eclipse
. Nope.
Okay, well, maybe I have to chmod. sudo chmod +x eclipse
.
No error. ls -l
. eclipse
is still -rw-------
. What?
Verbose output! sudo chmod -v +x eclipse
Result: mode of 'eclipse' changed from 0600 (rw-------) to 0711 (rwx--x--x)
Yay! Nope, ls -l
reveals that it's still -rw-------
.
I then open nautilus as root, and find the file, and try to do it from the GUI. Turns out the same thing happens. The "Allow executing file as program" option isn't disabled, but when I tick the box it unticks the moment my mouse leaves. What's going on?
mount
reveals that this partition is mounted in rw
mode, which I know is important.
fstab line is
UUID="755AF93248ACABD6" /s ntfs rw,auto,users,nls=utf8,umask=007,gid=46 0 0
noexec
would be my guess ;-) – Rinzwind Apr 14 '13 at 19:43UUID="755AF93248ACABD6" /s ntfs rw,auto,users,nls=utf8,umask=007,gid=46 0 0
– MalcolmOcean Apr 14 '13 at 19:49sudo mount -t ntfs -o fmask=0022,dmask=0000,uid=1000,gid=1000 /dev/sda7 /media/testmount
then it works. But how do I fix this in fstab? – MalcolmOcean Apr 14 '13 at 20:21