[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#377689: Cannot mount usb key (and I read the archives)

On Wed, Aug 30, 2006 at 12:06:04PM +0200, Jean-Christophe Dubacq wrote:
> I must give a few precisions here:
> - I am using hal (which includes the fix mentioned in 377689)
> - I do not doubt that this works for people : I have tested, and it
>   works when my user is added to group plugdev via /etc/group, not when
>   my user is granted plugdev group through /etc/security/group.conf

This is because dbus checks the groups of the user as is provided by the
adminstrative database (/etc/groups if you use normal files), not the groups a
user has in the session that sends the request. So what your trying to do
unfortunately doesn't work this way for hal callouts.

If you only want users who are currently at the foreground console to mount
things then libpam-foreground would be a possible solution. But dbus needs
support for that, which it currently doesn't have.

I'm closing this bug, as it's not a hal problem. And dbus can't be fixed to
support your setup. A possible follow-up would be to file a wishlist bug on
dbus to integrate libpam-foreground support. But i'm not that eager to do that
as libpam-foreground currently doesn't have a maintainer in debian...

My religion consists of a humble admiration of the illimitable superior
spirit who reveals himself in the slight details we are able to perceive
with our frail and feeble mind.
		-- Albert Einstein

Reply to: