usb mounting issue with more than one user
by byebyemrgates from LinuxQuestions.org on (#4QQ5P)
Hi there! Using Mint 19; have two users: User 1 (admin), User 2 (not admin).
When user 2 inserts a USB flash drive, he can not open it and gets a message "operation already pending". But User 1 gets a prompt to enter his password. Until he does, the flash drive is not mounted.
The flash drive mounts in /mnt/usb-_USB_DISK_2.0_07075A93B66E8A23-0:0-part1/
I changed permission for /mnt to "everyone - read and write".
However, can not change permission for usb-_USB_DISK_2.0_07075A93B66E8A23-0:0-part1/ even though opening Thunar as root (by using command "pkexec thunar"). But Thunar does not allow me to change permission for the actual folder usb-_USB_DISK_2.0_07075A93B66E8A23-0:0-part1/.
User 2 has permission to "access external storage devices automatically).
The issue is the same for any flash drive, it seems. User 2 needs to use flash drives he has, without reformatting...
if it helps:
Code:cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=826704ef-8d20-47c2-9dbb-e04764bd1b13 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=D537-60E9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0


When user 2 inserts a USB flash drive, he can not open it and gets a message "operation already pending". But User 1 gets a prompt to enter his password. Until he does, the flash drive is not mounted.
The flash drive mounts in /mnt/usb-_USB_DISK_2.0_07075A93B66E8A23-0:0-part1/
I changed permission for /mnt to "everyone - read and write".
However, can not change permission for usb-_USB_DISK_2.0_07075A93B66E8A23-0:0-part1/ even though opening Thunar as root (by using command "pkexec thunar"). But Thunar does not allow me to change permission for the actual folder usb-_USB_DISK_2.0_07075A93B66E8A23-0:0-part1/.
User 2 has permission to "access external storage devices automatically).
The issue is the same for any flash drive, it seems. User 2 needs to use flash drives he has, without reformatting...
if it helps:
Code:cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=826704ef-8d20-47c2-9dbb-e04764bd1b13 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=D537-60E9 /boot/efi vfat umask=0077 0 1
/swapfile none swap sw 0 0