Permission denied on HPFS/NTFS/exFAT filesystem: Operation not supported

Symptoms

Factory HPFS/NTFS/exFAT pre-formated Seagate USB drive mounts read and write, however any attempt to alter data or write new data is denied. Using a mount the disk is mounted with following mount options:

/dev/sde1 on /mnt/USB type ntfs (rw,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1)

Even, when mounted rw any attempt to write is denied:

# touch file
touch: cannot touch ‘file’: Permission denied
# chmod -R 777 USB/
chmod: changing permissions of ‘USB/Autorun.inf’: Operation not supported
chmod: changing permissions of ‘USB/Seagate/Registration/SerialNumber.xml’: Operation not supported
chmod: changing permissions of ‘USB/SeagateExpansion.ico’: Operation not supported
chmod: changing permissions of ‘USB/Start_Here_Win.exe’: Operation not supported
chmod: changing permissions of ‘USB/Warranty.pdf’: Operation not supported

Solution

The reason for this behavior is a missing NTFS driver. Hence the solution is to install the required driver by installing the ntfs-3g package.

FEDORA/CENTOS/REDHAT
$ sudo yum install ntfs-3g
OR
$ sudo dnf install ntfs-3g
DEBIAN/UBUNTU
# apt install ntfs-3g

Next, re-mount your drive:

# umount USB/
# mount /dev/sdX /mnt/USB/


Comments and Discussions
Linux Forum