Possible Duplicate:
How to 'chmod' on an NTFS partition?
I have just started using Ubuntu and I have my hard drive set up with an Ubuntu partition, a Windows 7 partition and a much larger Storage partition where I keep most of my files.
I have been doing some programming and have been putting a.out
into a folder in the Storage partition. When I try to launch it in Bash I got a permission denied error. I then did a sudo chmod +x a.out
, but this did not give any feedback so I tried to launch a.out
again and got permission denied. I tried using the GUI to change a.out
to executable but when I checked the box it unchecks right away.
I did some googling and it seems that the partition itself needs to be given permission to execute. So I did sudo chmod +x Storage
and then I did ls -l
and got:
drwx------ 1 jared jared 4096 2011-09-17 21:03 Storage
When I go back to change a.out
it still won't change.
This is the line from /proc/mounts
for the file system:
/dev/sda3 /media/Storage fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0
I'm sure there is something about permissions I am misunderstanding so if some one could point me in the right direction it would be greatly appreciated.
/proc/mounts
corresponding to the file system you're having trouble with?noexec
flag, or whether you were using a file system that didn't support the needed permission bits. I'm guessing that you're using NTFS here though, and I'm not sure how it handles the execute bit.