Linux - Mount NTFS partition with permissions

Last update: October 30th, 2014

Ubuntu can natively access to a NTFS partition. However, you may not be able to set permissions on it using 'chmod' or 'chown'.

The following instructions will help you on setting up Ubuntu to be able to set permission on a NTFS partition.

Identify the partition

To identify the partition, use the 'blkid' command:

$ sudo blkid

It will show you all the current connected hard drive/partitions on the computer.

Example:

sudo blkid
/dev/sda1: LABEL="System Reserved" UUID="104AFBC24AFBA2A0" TYPE="ntfs"
/dev/sda2: UUID="6E0802260801EE41" TYPE="ntfs"
/dev/sda3: UUID="3dd36e9c-e367-44b2-8ffc-b4ce5ffed287" TYPE="ext4"
/dev/sda4: UUID="1cf0210c-22c3-4e77-99c7-fccf74d3105e" TYPE="swap"
/dev/sdb1: LABEL="Data" UUID="7FC482015907F743" TYPE="ntfs"
/dev/sdc1: LABEL="MULTIBOOT" UUID="1613-316C" TYPE="vfat"

 

Mount the partition once

First, create a mount point in a terminal using 'mkdir'. Then, type the following line to mount the partition with options 'permissions':

sudo mount /dev/sdXN -t ntfs-3g -o permissions [Mount point]

Example:

sudo mount /dev/sdb1 -t ntfs-3g -o permissions /media/Data/

Then, you will be able to edit the permissions of the files on the NTFS partition with 'chmod' and 'chown' !

Mount the partition on boot (permanant solution)

Get the UUID of the partition

The UUID is a unique ID related to the partition. Copy the UUID of the partition using the blkid tool.

Edit the fstab

The fstab file (located at /etc/fstab) is a system configuration file that tells the system which partitions/filesystems we want to mount on boot and where. As we want to mount the NTFS partition on every boot, we will add it to the fstab file.

Add this line in the fstab file:

UUID=[The UUID of the partition]   [Mount point]     ntfs-3g permissions     0       1

Example:

UUID=7FC482015907F743   /media/Data     ntfs-3g permissions     0       1

Then, reboot the computer. On boot, it should automatically mount the partition on the specified mount point with options 'permissions' and you will be able to edit the permissions of the files on the NTFS partition with 'chmod' and 'chown' !