Can't change ownership of NTFS nvme drive

https://clbin.com/0h3Yc
https://clbin.com/iNYcV
(Logs I am supposed to share)
I am trying to change the ownership of this drive from root to my user (jonker), but using
sudo chown -R jonker:jonker /mnt/nvme0n1p3 doesn’t change anything. I also tried
sudo chmod a=rwx /mnt/nvme0n1p3 but the ownership (I checked via ls -l /mnt/nvme0n1p3) says root.
Here is how I configured my fstab how to mount the drive on boot:
UUID="4836D90A36D8FA40" /mnt/nvme0n1p3 ntfs defaults 0 2

Unless you do something exotic, ntfs/exfat/fat32 volumes don’t support POSIX permissions. Basically, they get fixed permissions defined at mount time.

You can add mount options to have the permissions be set to your user instead of root but it will impact all the files/directories on the partition.

Also, welcome to the forum!

2 Likes

Oh, ok, good to know. Here’s how I configured my fstab, now it seems to work.
UUID="4836D90A36D8FA40" /mnt/nvme0n1p3 ntfs uid=1000,gid=1000,dmask=027,fmask=137 0 2
Thank you for your help!

1 Like

Welcome @jonker130

1 Like

welcome :slightly_smiling_face:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.