https://bugs.kde.org/show_bug.cgi?id=515345

            Bug ID: 515345
           Summary: "You are not authorized to mount this device" but
                    seems to be mounted properly after a while
    Classification: Plasma
           Product: plasmashell
      Version First 6.5.5
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Disks & Devices widget
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: 1.0

Created attachment 189097
  --> https://bugs.kde.org/attachment.cgi?id=189097&action=edit
After plugging in

SUMMARY
When trying to mount external USB hard disk, "Disks & Devices" takes an
unusually long amount of time "Checking..." and "Accessing...", then fails with
"You are not authorized to mount this device" and it gives me the option to
"Mount and open" or "Mount", but after about a minute - it succeeds in mounting
the drive, with the "You are not authorized" error still showing.

If I try to "Mount without verifying" or mount from the command line with
"udisksctl mount" - it works quickly (about 6 seconds) and without issue.

STEPS TO REPRODUCE
1. Connect USB external drive
2. "Mount and Open" or "Check" from "Disks & Devices" widget
3. After a long time see "You are not authorized to mount this device" 
4. After some more time see that the drive is mounted, files can be access and
it can be "Safely removed"

OBSERVED RESULT
Weird error when drive is mounted. Mounting takes an unusually long amount of
time

EXPECTED RESULT
Drive mounted quicker and without errors

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 6.18.7, Arch Linux latest packages available right now
KDE Plasma Version: 6.5.5
KDE Frameworks Version: 6.22.0
Qt Version: 6.10.1

ADDITIONAL INFORMATION
Nothing suspicious shows up when looking at the journal while doing this. Just
some regular kernel and udisks logs.

After plugging in, I have 3 mounting options "Mount and Open", "Mount without
verifying" and "Check for Errors". After seeing the error, but before the drive
is mounted I have 2 - "Mount and Open" and "Mount". After it is mounted - I see
"Safely remove" and that seems to work without issues.

Sometimes it starts quickly and without issues, and keeps doing so until I
restart the computer.

It is a freshly btrfs formatted drive with "Linux filesystem" partition type. I
have tried verifying the disk with "btrfs check" - no errors, tried "Check and
Fix" from "KDE partition manager" - no errors. I have tried mounting another
external hard disk from a different vendor - same thing happens. I then tried
formatting an USB stick with exactly the same commands and that one mounts fast
without errors from the first try.

This is a fresh system install, all I have done is install Arch Linux, the
"plasma-desktop" package and a few other KDE and non-KDE apps. Then I went
through the System Settings, individual app settings and checked the journal to
see if there were any issues. I have not edited manually the
~/.config/mimeapps.list file, and there are no "org.kde." or "org.kde.baloo"
entries in it.

Let me know if there is anything I can try to debug this.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to