On Friday 30 December 2005 06:43, Gerhard Hoogterp wrote:
> I had something alike and found that the hotplug script was looking
> for /var/run/console/console.lock to see who owned the console (and to use
> this info to chown the usbfile)
>
> You can easily check if you have the same problem: disconnect the camera,
> become root on the commandline and use
>
>       cat loginname > /var/run/console/console.lock
>
> (so if you're logged in as michael use
>       cat michael > /var/run/console/console.lock
> )
>
> Plug in the camera and try to download the photo's. If it now works, you
> have the same problem which I had (and which has to do I think with
> pam_console which is a flag for emerging pam)
>
> Anyhow, as I got bored to create the lockfile every time I just "fixed"
> the /etc/hotplug/usb/usbcam to use my name whenever it couldn't find a lock
> file.. Somewhat ugly, but oh well..
>
> Hope this helps..
>       Gerhard
>
> --
> Ithaka photography, http://ithaka.mine.nu/

This link may be helpful to those still looking at this...
http://www.gphoto.org/doc/manual/permissions-usb.html

-- 
Finally, Zippy drives his 1958 RAMBLER METROPOLITAN into the faculty
dining room.
-- 
gentoo-user@gentoo.org mailing list

Reply via email to