I recently had to reinstall Windows and Ubuntu after a Windows Update wrecked everything. I'm more or less back up and running, but a shared hard drive is giving me problems. The drive works fine in Windows, but in Ubuntu it prevents me from changing the files (though I can still read them).
The file system on the drive is NTFS which might be part of the problem, but it also tells me that I don't have ownership of the drive.
Commands like this don't help:
sudo chown yourusername: /media/mountpoint
Or this (changing permissions with the Nautilus GUI)
gksudo nautilus
I have used the following command, when the drive is unmounted, in a fashion that gives me read-write access:
sudo mount -t ntfs-3g -o user /dev/sdb1 /media/Elements
But it's not persistent, I'll have to do this every time and that's cumbersome!
Any suggestions? Can I wrest ownership back of the drive? Is there an option to save the mount user option above so it's that way every time?
I'm tempted to follow the directions about editing my fstab based on this link
Links I got resources from:
I did use the option of editing the fstab, from the Disks utility in Ubuntu 17.04. (I found my info here.)
It's in the screenshot, but I'll also post my entry to the fstab for reference:
I opted for the umask=000 which might be too permissive, but since I have other users using this drive (logging into the same machine as their own users) I didn't want to accidentally lock it for them.
I'm not sure if the uid, gid, or umask made the difference; I had already applied ntfs-g using the Disks utility with no change to the problem, so I'm assuming it was a legacy user issue from when I had to reinstall windows and Linux.