Code: Select all
Linux compatible permissions
Permissions on a Linux system are normally set to 755 for folders and 644 for files. It is recommended to keep these permissions in use for the NTFS partition as well if you use the partition on a regular basis. The following example assigns the above permissions to a normal user:
# Mount internal Windows partition with linux compatible permissions, i.e. 755 for directories (dmask=022) and 644 for files (fmask=133)
/dev/NTFS-partition(or UUID=....) /mnt/windows ntfs-3g uid=username,gid=users,dmask=022,fmask=133 0 0
You need dmask and fmask, not umask.
Good place to find most config options[1] for nearly anything is the arch wiki. You may have to dig around for slight variations with where Debian stores config files ETC., but the actual configuration is usually the exact same. Gentoo wiki is also, or at least was also, a good place to look for config options.
[1] As always, use common sense when looking for config options. ARCH names may not align 100% with Debian naming conventions. You can't install ARCH packages directly on Debian without recompiling and Debianizing the sources, etc. etc. etc.
EDIT: also read the next few lines down from this on https://wiki.archlinux.org/index.php/NTFS-3G to see how you can set up mounting under one user and allowing all users of a specific group access too.