I have an NTFS partition that I want to mount using /etc/fstab. I don't want any files to have executable permissions on this drive, so I wrote the following rule:/dev/sda2 /media/sharedfolder ntfs auto,user,noatime,noexec,rw,async 0 0However, I don't believe this will prevent files from being created with executable permissions. It will simply prevent them from being executed. Perhaps this is fine, but is it possible to remove all executable permissions from newly created files on this partition using an /etc/fstab rule?Would using umask and fmask be enough, like this rule?/dev/sda2 /media/sharedfolder ntfs auto,user,noatime,noexec,rw,async,umask=0111, 0 0I'm unsure because Wikipedia lists umask as an option specific to the FAT filesystem. 
How do I mount an NTFS partition in /etc/fstab and prevent files/directories from receiving exec permissions when they're created?
linux;permissions;fstab;ntfs
Wikipedia isn't as good a reference as the man page. Both the the traditional ntfs driver and the now-preferred ntfs-3g support the umask option.You shouldn't set umask to exclude executable permissions on directories, though, since you can't access files inside a non-executable directory. Instead, use separate values for fmask=0111 (non-directories) and dmask=0777 (directories) (you can omit this one since all bits allowed is the default value).