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

Re: Why i can not mount my USB stick automatically?



On Sat, Aug 05, 2006 at 08:09:13 -0700, Willie Wonka wrote:
> Florian Kulzer wrote:
> > On Sun, Aug 06, 2006 at 21:55:40 +0800, Richard van der Veen wrote:
> > > Hello I use Debian Sid and i used to have this configuration that whenever
> i 
> > > put the USB stick into the computer i see a window opened to let me choose
> if 
> > > i want to mount the stick and see its contents. But after some updates this
> 
> > > behaviour is not working anymore ... the window still pops up woth this 
> > > question but when i try to mount the usbstick i get a cryptic error message
> 
> > > and i don't know in which configuration file i have to search to make some 
> > > changes ... can someone help me? ... The error message is:
> > > 
> > > 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")
> > 
> > Assuming you are using KDE, this will fix your problem:
> > 
> > http://lists.debian.org/debian-user/2006/07/msg03013.html
> > http://lists.debian.org/debian-kde/2006/08/msg00010.html
> > 
> 
> Interesting;
> I'm on Debian Sid, running a 2.6.16-2.686 kernel;
> I notice that for my regular $username that I log in with - in /etc/group that
> $username is listed alongside these groups 
> 	*dialout
> 	*cdrom
> 	*floppy
> 	*audio
> 	*video
>  --and--
> 	*plugdev*
> 
> 
> I notice in /etc/group there's a hal entry;
> 
> 	hal:x:106:
> 
> Does anyone think that by adding the $username to that group as well, will help
> here ?? Just curious ...and I do not have, nor use USB pen drives, otherwise
> I'd test it myself -- thanks..

I just tried this: I commented out the "plugdev" policy lines in
hal.conf; this broke the automounting again, as expected (after
restarting dbus and KDE). Adding my user to the "hal" group did not
restore automounting under these conditions. I guess this makes sense
within the "philosophy" of pmount: fstab entries do not matter anymore,
but membership in group "plugdev" determines if a user is allowed to
mount pluggable devices (and send the necessary messages via dbus).

P.S. Debian Sid, custom kernel 2.6.17, hal 0.5.7-2, dbus 0.62-4

-- 
Regards,
          Florian



Reply to: