I have an NTFS partition that I want to automatically mount so I do not have to open Nautilus and click on it under Devices. If I mount with Nautilus, and then type
mount
, I see the following line:
/dev/sdb1 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
I am the owner of all files and permissions are the way I want them (have umask 077
in .bashrc). However, after following the instructions on MountingWindowsPartitions, and adding the following line to fstab
UUID=4A92C07A92C06C4F /media/Data ntfs-3g defaults,windows_names,locale=en_GB.utf8 0 0
the drive does indeed automatically mount, but all file permissions are -rwxrwxrwx and user and group are both root. The mount
command now shows
/dev/sdb1 on /media/Data type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
How do I specify the parameters in fstab so that the partition is mounted exaclty the same way as when I click on the device under Devices in Nautilus? I have Ubuntu 12.04.
defaults
option with your suggestion. One detail remains though. When I create a new file on the mounted drive, it gets the permissions-rwx------
where I would prefer not to have the "x" set (unless it is a directory). Is it theumask=077
that should be changed, and if so, do you know what to change it to? – DustByte Aug 12 '13 at 09:39