Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 354017 - udisks denies mount with error org.freedesktop.UDisks.Error.PermissionDenied
Summary: udisks denies mount with error org.freedesktop.UDisks.Error.PermissionDenied
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-07 20:14 UTC by Marco Napetti
Modified: 2011-02-08 13:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Napetti 2011-02-07 20:14:33 UTC
I just upgraded to kde 4.6.0.
When I try to mount an external disk I obtain this error: org.freedesktop.UDisks.Error.PermissionDenied: Not Authorized

I edited /usr/share/polkit-1/actions/org.freedesktop.udisks.policy, allow_active is set to yes by default, setting allow_inactive to yes doesn't work, only setting allow_any to yes I can mount a disk.

I searched on the web and I found that consolekit recognize your session only if you logged in with a login manager that supports it (like gdm or kdm).
I logged in using kdm-4.6.0, so it can't be the problem...

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-02-07 20:24:18 UTC
This is propably not a bug at all but configuration issue in your end, see this:

http://forums.gentoo.org/viewtopic-t-858965-highlight-.html   (first post)

If you *still* think it's a bug after following those steps, provide at least 'ck-list-sessions' output (as a user, from X11 terminal, not as root), and .xinitrc or similar file content etc.
Comment 2 Marco Napetti 2011-02-07 20:28:11 UTC
Ok, I feel so stupid...
I didn't check for the kdm useflags, and consolekit was missing.
But, if consolekit is needed by default by kde-4.6.0, why it isn't activated by default on kdm ebuild?
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2011-02-08 13:51:26 UTC
(In reply to comment #2)
> Ok, I feel so stupid...
> I didn't check for the kdm useflags, and consolekit was missing.
> But, if consolekit is needed by default by kde-4.6.0, why it isn't activated by
> default on kdm ebuild?
> 

consolekit is already enabled by default in the desktop profile. so presumably you are using wrong profile, or have chosen not to use desktop profile but then you should know all this...