User not permitted to mount USB stick

HI All.

When I plug in a USB stick (created on windows), the device notifier informs me and gives the option to access with File Manager, but then says I am not authorised

Did some searching and added myself to disk group. Still no go.

Any ideas please ?

Thanks
Hardy

Welcome to the Forums!
Apparently you are using Gnome, so try to open Gnome Disks and see if you can do something with that disk there.
Or open a terminal and issue:

sudo lsusb

and then

sudo lsblk -fm

and post the relevant lines of the output (if any) here between CODE tags (click the # button above the editing area).
My guess is that there might be some boot code on the disk or there is something odd with the way Win* formatted the stick.

Actually - I’m logged into Plasma desktop I think. Anyway, here’s the output

dl380:/etc # lsusb
Bus 001 Device 007: ID 0781:5581 SanDisk Corp. Ultra
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 0461:0010 Primax Electronics, Ltd HP PR1101U / Primax PMX-KPR1101U Keyboard
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 25a7:fa23
Bus 004 Device 002: ID 046d:0a38 Logitech, Inc. Headset H340
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

lsblk -fm
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT SIZE OWNER GROUP MODE
sda 136.7G brw-rw----
├─sda1 ext2 2fe75c70-1bff-4ba9-b275-70b55d4d5623 243M brw-rw----
├─sda2 btrfs 4cc344f0-cfe3-4df0-9659-6726a5800eff 122.3G 8% / 134.5G brw-rw----
└─sda3 swap 0c92b15b-05b8-472d-914f-86de78da84df [SWAP] 2G brw-rw----
sdb 233.3G brw-rw----
└─sdb1 vfat 92B3-B091 233.3G brw-rw----
sr0 1024M brw-rw----

Thanks

Run

udisksctl mount -b /dev/sdb1

then assuming no issue with mounting the device, run

mount

and report back

Working now.
Thank you so much.


maxaha1@dl380:~/Downloads> mount | grep sdb1
/dev/sdb1 on /run/media/maxaha1/92B3-B091 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
maxaha1@dl380:~/Downloads> 

Don’t quite understand why, the KDE Plasma desktop wasn’t allowed to execute the mount.
Before the USB device was mounted, the systemd journal should have displayed something like this:


Jul 20 12:07:24 xxx kernel: usb 2-2: new high-speed USB device number 2 using ehci-pci
Jul 20 12:07:24 xxx kernel: usb 2-2: New USB device found, idVendor=abcd, idProduct=1234
Jul 20 12:07:24 xxx kernel: usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul 20 12:07:24 xxx kernel: usb 2-2: Product: UDisk           
Jul 20 12:07:24 xxx kernel: usb 2-2: Manufacturer: General 
Jul 20 12:07:24 xxx kernel: usb 2-2: SerialNumber: Љ
Jul 20 12:07:24 xxx kernel: usb-storage 2-2:1.0: USB Mass Storage device detected
Jul 20 12:07:24 xxx kernel: scsi host7: usb-storage 2-2:1.0
Jul 20 12:07:24 xxx mtp-probe[11040]: checking bus 2, device 2: "/sys/devices/pci0000:00/0000:00:13.2/usb2/2-2"
Jul 20 12:07:24 xxx mtp-probe[11040]: bus: 2, device: 2 was not an MTP device
Jul 20 12:07:26 xxx kernel: scsi 7:0:0:0: Direct-Access     General  UDisk            5.00 PQ: 0 ANSI: 2
Jul 20 12:07:26 xxx kernel: sd 7:0:0:0: Attached scsi generic sg9 type 0
Jul 20 12:07:26 xxx kernel: sd 7:0:0:0: [sdh] 7989248 512-byte logical blocks: (4.09 GB/3.81 GiB)
Jul 20 12:07:26 xxx kernel: sd 7:0:0:0: [sdh] Write Protect is off
Jul 20 12:07:26 xxx kernel: sd 7:0:0:0: [sdh] Mode Sense: 0b 00 00 08
Jul 20 12:07:26 xxx kernel: sd 7:0:0:0: [sdh] No Caching mode page found
Jul 20 12:07:26 xxx kernel: sd 7:0:0:0: [sdh] Assuming drive cache: write through
Jul 20 12:07:26 xxx kernel:  sdh: sdh1
Jul 20 12:07:26 xxx kernel: sd 7:0:0:0: [sdh] Attached SCSI removable disk

@maxaha1:

Have you changed anything in PolKit which is preventing KDE from using “udisk”?

  • It’s a little bit strange that, you can mount the device by using “udisksctl” from a Konsole CLI but, the KDE Plasma Widget isn’t allowed to do just that …