Ubuntu – How to write an fstab line for full access to an NTFS drive

fstabntfspermissions

I've written:

/dev/sda2 /win ntfs-3g rw,dev,exec,auto,async,users,umask=777,uid=1000,gid=1000,locale=en_US.utf8,  errors=remount-ro 0 0

but I still can't access /win as a user (corresponding to uid/gid specified). As root I can access /win and can see that no permissions are set at all (I supposed umask=777 is meant to set all permissions).

Best Answer

With umask you define the options that should not be set. So umask=777 is the same as octal permission 000.

For some examples on how to convert between octal permissions and umask, see this Wikipedia entry.

Related Question