[gentoo-user] Regular user can't offload usb camera`
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? -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Regular user can't offload usb camera`
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. Best regards ce -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Regular user can't offload usb camera`
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
Re: [gentoo-user] Regular user can't offload usb camera`
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
Re: [gentoo-user] Regular user can't offload usb camera`
On Friday 30 December 2005 06:43, Gerhard Hoogterp wrote: Interesting I can get it to work the first time it is connected. But after disconnetcting or turning off the camera (a Kodak cx7330) it doesnt work anymore. Neither as root or as user. It looks liek every time I reconnect a usb device the device number gets incremented by one for some reason? -- Experience teaches you that the man who looks you straight in the eye, particularly if he adds a firm handshake, is hiding something. -- Clifton Fadiman, Enter Conversing -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Regular user can't offload usb camera`
On Friday 30 December 2005 16:09, Glenn Enright wrote: On Friday 30 December 2005 06:43, Gerhard Hoogterp wrote: Interesting I can get it to work the first time it is connected. But after disconnetcting or turning off the camera (a Kodak cx7330) it doesnt work anymore. Neither as root or as user. It looks liek every time I reconnect a usb device the device number gets incremented by one for some reason? Ok looks like I can but have to update the device in the software Im using bcause it doesnt detect the usb port change (digikam broken?) -- Oh, I could while away the hours, Smoking herbs and flowers, Shooting up my veins, De-dum, De-dum, De-dum Tell you, I've been a-thinkin' I could drive a shiny Lincoln, If I dealt in good cocaine. -- To If I Only Had A Brain from The Wizard of Oz -- gentoo-user@gentoo.org mailing list