If you want to set ownership of a folder on an NTFS drive in Linux, you need to change the ownership of its entry in /etc/fstab. Unfortunately you cannot use chown because NTFS is not a POSIX-compatible filesystem. Open up Users and Groups and find your user's ID. The first user on an Ubuntu install has uid 1000. Similarly, click on Manage Groups and find your group - the gid for the first user is 1000. Open /etc/fstab as root sudo gedit /etc/fstab and change the mount line to include the uid and gid parameters:
UUID=XXXXXXXX /media/mydrive ntfs defaults,umask=007,uid=1000,gid=1000 0 0
Save the changes and unmount/remount the device:
1 2 |
sudo umount /media/mydrive sudo mount /media/mydrive |




