How can I automatically mount any USB flash drive on the same mount point?
by ipux from LinuxQuestions.org on (#6JCSM)
Hi,
In my case, I have a computer with several users, and it's possible that some of the participants will use their own USB keys to work on the machine in question.
How can I make sure that once the USB stick is plugged in, it's available in rw on all users, and that it doesn't mount in the current user's directory?
I've seen that it's possible to assign rules in the fstab configuration, but this requires (as far as I know) entering the corresponding UUID of the USB key, which isn't possible in my case as it's never the same keys.
To put it simply, I'd like it to work like Windows: when a USB key is plugged in, it's available to all users.
Thanks in advance.
In my case, I have a computer with several users, and it's possible that some of the participants will use their own USB keys to work on the machine in question.
How can I make sure that once the USB stick is plugged in, it's available in rw on all users, and that it doesn't mount in the current user's directory?
I've seen that it's possible to assign rules in the fstab configuration, but this requires (as far as I know) entering the corresponding UUID of the USB key, which isn't possible in my case as it's never the same keys.
To put it simply, I'd like it to work like Windows: when a USB key is plugged in, it's available to all users.
Thanks in advance.