I'm running both Linux Mint (17.2) and Ubuntu (18.04) on two different machines. When I plug in an external hard drive or USB flash drive, the drive is automatically mounted. A directory is created (for example, /media/ben/FlashDrive/) with the user and group set to "ben:ben" and the permissions set such that the owner can read/write, and nobody else can read/write.
I would like to change the group and group permissions for all future USB flash drives and external hard drives.
In other words, if I plug in a USB flash drive or external hard drive, I would like it to be automatically mounted to the same automatically-determined mount point as before, with the user set to the current system user, but with the group set to some specific group (i.e. "users") and the group permissions set to read-only (instead of no access).
The idea is that, regardless of who inserts the USB flash drive, any valid user of the system can read the drive, but without having to manually configure each drive.
All the instructions I've found so far require editing /etc/fstab, and they require specifying the UUID or device ID of the specific drive, hard-coding the mount-point, and hard-coding both the user name and group. This means that /etc/fstab needs to be updated separately for each device, and it isn't flexible to multiple users.
Is this possible?