I am using
dircolor-solarized to render my
ls output. It works well in my linux partition. However, in a NTFS partition mounted by ntfs-3g, all the files were colored green because
/etc/fstab grants the executable permission to the partition:
/dev/sdb5 /mnt/win10_E ntfs-3g rw,uid=1000,gid=1000,dmask=0022,fmask=0033 0 0
and in my
dircolors.256dark there is:
I have tried
umask=0022 but the output keeps the same. Actually I don't think things will change if executable permission is granted to any of the users. But when I tried 'umask=0111', the partition just failed to be mounted. So I am here to ask for a help:
1) Is there any way to mount a ntfs partation writable and readable, while executable permission is absent?
2) If 1) is not possible in ntfs-3g, is there a way to lower the priority of EXEC rendering? For example, let dircolor firstly match the extension names, and then EXEC if no match found in the list.
3) Any other workaround?
$ uname -a Linux debian-Z620 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux