Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Oct 2011 00:04:09 GMT
From:      Chuck Burns <break19@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/161317: KDE 4.6.5 does not prompt for authentication for actions such as mount internal media.
Message-ID:  <201110060004.p96049oS042757@red.freebsd.org>
Resent-Message-ID: <201110060010.p960A8q6076184@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161317
>Category:       misc
>Synopsis:       KDE 4.6.5 does not prompt for authentication for actions such as mount internal media.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 06 00:10:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Chuck Burns
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD blackbeast.local 8.2-STABLE FreeBSD 8.2-STABLE #2: Tue Oct  4 19:57:10 CDT 2011     root@blackbeast.local:/usr/obj/usr/src/sys/BLACKBEAST  amd64

>Description:
KDE does not seem to prompt, using kdesu, for authentication, for such things as "Mount internal media"  the system policy is set for "Authentication" which means the UI should prompt for a root password to do the actions specified.

As an example, I have created another partition on an internal drive, which by default, requires admin authentication, for polkit and hal to allow a mount.

Instead of mounting, I am greeted with "An error occurred while accessing '74.5 GiB Hard Drive', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)

Which gives the indication that I failed to authenticate.. Which I suppose I did, since I wasn't ever asked to authenticate.

If, however, I modify the system to not require authentication at all, it will mount the device properly, but I wish to keep the default setting of "Admin Authorization - Keep"

And yes, 
$ sysctl vfs.usermount
vfs.usermount: 1

>How-To-Repeat:
Attempt to mount an INTERNAL hard drive partition with KDE/dolphin 4.6.5
>Fix:
No fix known, but an ugly hack is to just give a specified user or users full access, with no need for authentication.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110060004.p96049oS042757>