From what I’ve read about fstab, I thought this should work but it doesn’t. After rebooting or running sudo mount -a, the drives successfully mount but I cannot write to them as any user other than root.
Thinking this must because I created the dirs in /mnt as root, I created dirs in my home dir, and added these as the mount points in fstab. But the result is the same, at boot or by using sudo mount -a, the drives are mounted but cannot be written to without superuser privilege.
I also tried leaving the drives out of the fstab completely. Then I tried mounting them through the file manager (thunar). Even here, the result is the same, root takes ownership of the mount point and I cannot write to the drive.
I’ve read at least a dozen tutorials and fstab wikis. I have no idea why this won’t work.
At the moment the only way I can write to these drives is to run chown on the mount points. But I would like to avoid having to run this command every time I start my computer!
The result is the same if I change the option to user. When I log in, the directories/mount points are owned by root. I tried manually unmounting and re-mounting: when I unmount, the dir ownership returns to root, when I mount, ownership changes to root and I cannot write to the drive.
If I leave the lines out of the fstab completely. When I log in, the drives are listed in the file manager (thunar). Clicking on them to mount results in the same problem - they are owned by root and I cannot write to them.
The only way I can write to them is if I use chown to change owners to myself. But I want to avoid having to do this every time I start the computer.