How does one control automount ownership, i.e. the mount 'seat' ownership?
In Nemo's left pane, under Devices, manually clicking on a plugged-in, but not yet mounted, USB memory device, cause it to mount.
But some devices mount with root ownership (like my 2nd hard drive), and some with user ownership (like my USB sticks). In other words, my USB hard drive mounts in a folder owned by root, but my USB stick mounts in a folder owner by a normal user. I want the hard drive to mount as a normal user.
I can see that udisk2 is being used.
How do I set drive ownership, or override whatever the defaults are?
BTW, one issue this seems to create is that in Nemo when I delete a file or folder, it can't put it in the trash, (presumably because it doesn't have permission to). It only offers the option to delete permanently, or cancel.
Here's what I've tried:
I can manually mount with
udisksctl mount --block-device=/dev/sdd1. I don't see an option in gnome-disks-utility, nor in the settings available for udisks. I tried to mess w/ polkit, but so far not sure if anything I do changes anything. Also I've tried messing with /etc/fstab but can't seem to add uid or user-id options.
Here is the rules file I tried to setup /etc/udev/rules.d/99-my.rules
SUBSYSTEM=="kernel", OWNER="user1", GROUP="group1", MODE="0777" SUBSYSTEM=="block", OWNER="user1", GROUP="group1", MODE="0777"
(I know that these are too permissive, but I was figuring if I could get it to work, that later I would tighten them up.)
3) BTW, I don't have any files in /etc/udisks2/, and have not yet tried messing with this.
OS: GNU/Linux Debian 9.6 (x86-64); Cinnamon desktop: 3.2.7; Linux Kernel: 4.9.0-8-amd64;