Web lists-archives.org

Re: [kde-linux] Hotplug (USB) Problem with KDE 3.5.5 - dbus/hal




On Friday 08 June 2007, Hans Hacker wrote:
> Hi folks,
> i want to set up our system to use usbsticks/cameras/cds.
> I use Debian Edge and KDE 3.5.5 !
>
> KDE recognizes the usb device if i plug it.
>
> But if i want to open it i get the following message:
>
> A security policy in place prevents this sender from sending this message
> to this recipient, see message bus configuration file (rejected message had
> interface "org.freedesktop.Hal.Device.Volume" member "Mount" error name
> "(unset)" destination "org.freedesktop.Hal")
>
> i found out, that i need be a member of the group 'plugdev'
>
> the first idea was to enter it in '/etc/security/group.conf' ...
> for some reason that does'nt work !!
> so i modified '/etc/group' and added me to the group plugdev
> and it worked ...
>
> my problem is now, that in our company aprox. 100 people work ... and
> i can't add them all to the group by hand

If they are all in another group, e.g. "users", you could just copy this line 
in /etc/group and change groupname to plugdev and the group ID to the one 
plugdev originally had.

Another option is to add this other group to the D-Bus policy file fopr HAL
/etc/dbus-1/system.d/hal.conf

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: pgpmBEcHr9SFD.pgp
Description: PGP signature

___________________________________________________
This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.