You are not logged in.
I've trawled through a bunch of different stackexchange posts, forum threads and other articles looking for a definitive answer to this and can't work out if what I'm trying to do is possible. I have an external USB HDD with an NTFS partition (needs to support large files and mounting on a wide range of devices, this seems to be the only choice sadly). It works fine - mounts automatically under GNOME under /run/media/<user> - but it's frustrating that by default all the files are mounted as world writable, so I was hoping to change the fmask/dmask values to something more sensible. Unfortunately, there doesn't seem to be a nice way to do that. I can put an entry in /etc/fstab, but that has several downsides:
Now prompts for password every time I plug it in/unplug it
I have to hard-code the mount point - not the end of the world but if another user plugs this drive in I'd ideally like it to mount at /run/media/<user> rather than a fixed mount point
Requires me to do this manually for each NTFS device I want to plug in
It seems like a while back there was some discussion about patching udisks2 to allow more flexibility in specifying options for different file systems, but it's not clear that ever happened. Is there a way to do this? If an ideal solution isn't available, I'd settle for something that doesn't involve me typing my password in each time but still involves a fixed mount point/explicit configuration per device...
Offline
Maybe this is what you need: https://www.tuxera.com/community/ntfs-3 … r-mapping/
Offline
Aha. The utility itself doesn't work for me because this is a drive that has never (and probably never will be) used with an actual Windows machine. But the slightly cryptic note at the bottom of that page in combination with this: https://askubuntu.com/questions/1100038 … r-on-16-04 give me what I was looking for. With that "dummy" UserMapping file in place the drive no works as hoped. Thanks!
Offline