Date: Fri, 28 Mar 2008 16:19:34 -0400 From: Dwayne MacKinnon <dmk@ncf.ca> To: hartzell@alerce.com Cc: kde-freebsd@kde.org, freebsd-gnome@freebsd.org Subject: Re: Can't automount without being root Message-ID: <1763ae175e68.175e681763ae@ncf.ca>
next in thread | raw e-mail | index | archive | help
----- Original Message ----- From: George Hartzell <hartzell@alerce.com> Date: Friday, March 28, 2008 3:11 pm Subject: Re: Can't automount without being root > Dwayne MacKinnon writes: > > Hi folks, > > > > I'm using KDE-3.5.8 on FreeBSD 7.0-RELEASE. Since the HAL > upgrade I can't > > automount as an "ordinary" user anymore. I get the following > error message in > > Konqueror: > > > > org.freedesktop.hal.storage.mount-removable no <-- (action, result) > > > > Automounting as root is fine. My user, btw, is set up as a > member of both the > > wheel and operator groups. > > > > I just posted my experiences with the upgrade to gnome 2.22 and > mentioned this trick: > > : My usb memory stick to automount would not automagically mount, > even : though I'm in the operator group. Some googling suggested > that I > : should add: > : <match action="org.freedesktop.halstorage.mount-removable"> > : <return result="yes"> > : </match> > : to /usr/local/etc/PolicyKit/PolicyKit.conf. Now my memory stick > : mounts automagically. Is this normally required? Did I miss it in > : the freebsd gnome FAQ or should it be added? > > I don't know if it should have been necessary, but it seems to have > helped. > > g. Thanks for the tip, George. I looked around at the man page for PolicyKit.conf and found that the following config allowed the behavior I'd come to expect: <config version="0.1"> <define_admin_auth group="operator"/> <match action="org.freedesktop.hal.storage.mount-removable"> <return result="auth_admin"/> </match> </config> Cheers, Dwayne MacKinnon
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1763ae175e68.175e681763ae>