Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I am not able to understand what is the issue here ?

vks@vksTP:~/dropbox/shells$ ll
-rw-rw-rw- 1 root root 1218 Mar 17 17:58
vks@vksTP:~/dropbox/shells$ sudo chmod +x
vks@vksTP:~/dropbox/shells$ ll
-rw-rw-rw- 1 root root 1218 Mar 17 17:58

I am not able to change the permission of the to +x.


I have a dual boot machine, and I share the same dropbox folder. This dropbox folder is on a ntfs mount of my D drive for windows. Following are the entries from fstab

/dev/sda2 /mnt/C ntfs-3g rw,user,fmask=0111,dmask=0000 0 0  
/dev/sda3 /mnt/D ntfs-3g rw,user,fmask=0111,dmask=0000 0 0  

I am not able to add +x to anyfile in /mnt/D

share|improve this question

marked as duplicate by Kevin Bowen, Web-E, Eliah Kagan, Rinzwind, gertvdijk Mar 19 '13 at 9:35

This question was marked as an exact duplicate of an existing question.

What are the permissions for the directory? Does dropbox support permissions at all? – choroba Mar 17 '13 at 12:53
Just checked mine, dropbox does support my +x parameter – Meer Borg Mar 17 '13 at 13:01
@viv assumed you used Sudo to change as it is root – Meer Borg Mar 17 '13 at 13:03
Are you able to chmod any other file on the same partition where the file is? If not, maybe you need to edit your fstab file and add the exec option. – To Do Mar 17 '13 at 20:31
By default you can't have executable in NTFS parition. Need to edit fstab file. – Web-E Mar 19 '13 at 5:57

Your fmask is set to 0111, meaning the lowermost bit of file permissions will be cleared. This bit is the x. Set the mask to e.g. 002 to just clear the write bit for others, and leave the r and x bits intact.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.