I have a 1TB NTFS drive that I'm trying to mount using /etc/fstab
at boot.
The entry in /etc/fstab
looks like this:
UUID=0C6C7C9D6C7C82EE /mnt/ext1tb ntfs umask=707 0 2
The drive gets properly mounted to /mnt/ext1tb
but executing stat -c %A /mnt/ext1tb/
yields in d---rwx---
, which isn't 707
, resulting in me not being able to write/read to/from it using my primary user account.
I've tried remounting the drive multiple times and using 777
as the umask
with no success. Mounting the drive directly with mount /dev/sda1 /mnt/ext1tb -o umask=707
yields the same results.
Using latest arch linux with 4.17 kernel.
d---rwx---
you report is precisely the effect ofumask 0707
. In effect the requested permissions are masked with the complement of theumask
value (perms=reqperms&~umval
).