Bug 179414

Summary: Desktop disk icon does not mount share for normal user
Product: [Frameworks and Libraries] kio Reporter: Martin van Es <bugs>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: normal CC: asraniel, baron, drf, finex, nate, rdieter
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin van Es 2009-01-02 21:24:38 UTC
Version:           4.1.85 (beta 2) (using Devel)
OS:                Linux
Installed from:    Compiled sources

I added a disk icon for a smbfs entry in fstab that points to a samba share on my network (noauto). All is configured correctly for the user to mount the share (ownership of the mountpoint and users set in fstab).
If I mount the share in konsole (as user) everything works fine. When I doubleclick the desktop icon (when the share is unmounted) I receive an error telling me that 'only root can do that'.

I would expect the doubleclicking of the icon to mount the unmounted share and open it, just like the command "mount /mnt/share" does in terminal.
Comment 1 Martin van Es 2009-08-22 20:16:30 UTC
This 'bug' is still valid in 4.3.0 and I'd like to add that it's a regression. This used to work in KDE3.
Comment 2 FiNeX 2009-08-23 00:06:09 UTC
@Dario: could this bug be related to solid? Thanks.
Comment 3 Nicholas Redgrave 2009-12-07 19:17:46 UTC
I'm running Fedora 12 which has KDE 4.3.3-4 installed and this bug is still present and very annoying since my network drives are all flagged as "user,noauto" in fstab and I have icons to them on my desktop so I could easily mount them on demand like I did with KDE 3.5.
Comment 4 Rex Dieter 2009-12-07 20:16:09 UTC
confirmed... I think this is better off assigned to something solid'ish too.
Comment 5 Martin van Es 2010-08-14 16:21:50 UTC
Still no luck in 4.5.0
Comment 6 Kevin Ottens 2010-10-02 14:31:21 UTC
This thing is not handled through solid AFAIK. That's the old way of handling that using desktop files which is somewhere in KIO IIRC.
Comment 7 Nate Graham 2018-04-25 21:35:05 UTC
Works for me in KDE Frameworks 5.45.