On Thursday 29 December 2005 18:28, Christoph Eckert wrote:
> Hi Michael,
>
> > My personal account (michael) cannot offload pictures from my usb
> > digital camera - only root can do it.  michael is in the usb group.
> > There used to be a file called /etc/security/console.perms which
> > allowed the michael user to offload pictures, but it's gone now.  How
> > can I make it where I don't have to su to root just to offload
> > pictures?
>
> the same happens here since I did an emerge --update world
>
> Before, normal users have been allowed to get pics via gphoto2 on the
> command line or even via the KDE protocol camera:/.
>
> Since the update, only root can get the images. I'm sure it's a
> permission problem, but I don't know where to look first.

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/

-- 
gentoo-user@gentoo.org mailing list

Reply via email to