Bug 429066

Summary: KDE Partition Manager can not create a mount point in /mnt
Product: [Plasma] plasma-integration Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: andrius
Priority: NOR    
Version: 5.20.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: screenshot

Description Patrick Silva 2020-11-13 16:46:35 UTC
Created attachment 133307 [details]
screenshot

STEPS TO REPRODUCE
1. open KPM
2. right-click on any unmounted partition, choose "Edit mount point"
3. click on "Select..." button
4. select /mnt and click on "New folder..." button
5. type any folder name and press enter

OBSERVED RESULT
"You do not have permission to create that folder." error message.
See the attached screenshot please.

EXPECTED RESULT
KPM should ask for credentials and create the mount point

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.20.80
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Comment 1 Andrius Štikonas 2020-11-13 17:00:07 UTC
That is a bit tricky...

We use QFileDialog::getExistingDirector and it does not support polkit.

In fact none of the applications in KDE implement what you want at the moment.
Comment 2 Andrius Štikonas 2020-11-14 01:40:19 UTC
Can anything be done about this in Plasma integration?
Comment 4 Andrius Štikonas 2020-11-14 11:58:31 UTC
Ok, I briefly looked at this a bit more, looks like Plasma integration is just relying on KIO.

So I think we can mark it as duplicate of 179678 (KIO needs PolicyKit-kde integration)

*** This bug has been marked as a duplicate of bug 179678 ***
Comment 5 Patrick Silva 2020-11-14 12:08:26 UTC
Thanks for your interest on this issue Andrius.
Comment 6 Andrius Štikonas 2020-11-14 12:09:31 UTC
(In reply to Patrick Silva from comment #5)
> Thanks for your interest on this issue Andrius.

Unfortunately this issue is very tricky. As you can see original bug was opened in 2009...