* [gentoo-user] Regular user can't offload usb camera`
@ 2005-12-29 16:54 Michael Sullivan
2005-12-29 17:28 ` Christoph Eckert
0 siblings, 1 reply; 7+ messages in thread
From: Michael Sullivan @ 2005-12-29 16:54 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Regular user can't offload usb camera`
2005-12-29 16:54 [gentoo-user] Regular user can't offload usb camera` Michael Sullivan
@ 2005-12-29 17:28 ` Christoph Eckert
2005-12-29 17:43 ` Gerhard Hoogterp
0 siblings, 1 reply; 7+ messages in thread
From: Christoph Eckert @ 2005-12-29 17:28 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Regular user can't offload usb camera`
2005-12-29 17:28 ` Christoph Eckert
@ 2005-12-29 17:43 ` Gerhard Hoogterp
2005-12-30 0:05 ` Glenn Enright
2005-12-30 3:09 ` Glenn Enright
0 siblings, 2 replies; 7+ messages in thread
From: Gerhard Hoogterp @ 2005-12-29 17:43 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Regular user can't offload usb camera`
2005-12-29 17:43 ` Gerhard Hoogterp
@ 2005-12-30 0:05 ` Glenn Enright
2005-12-30 3:09 ` Glenn Enright
1 sibling, 0 replies; 7+ messages in thread
From: Glenn Enright @ 2005-12-30 0:05 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Regular user can't offload usb camera`
2005-12-29 17:43 ` Gerhard Hoogterp
2005-12-30 0:05 ` Glenn Enright
@ 2005-12-30 3:09 ` Glenn Enright
2005-12-30 5:12 ` Glenn Enright
1 sibling, 1 reply; 7+ messages in thread
From: Glenn Enright @ 2005-12-30 3:09 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Regular user can't offload usb camera`
2005-12-30 3:09 ` Glenn Enright
@ 2005-12-30 5:12 ` Glenn Enright
2005-12-30 13:53 ` Gerhard Hoogterp
0 siblings, 1 reply; 7+ messages in thread
From: Glenn Enright @ 2005-12-30 5:12 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Regular user can't offload usb camera`
2005-12-30 5:12 ` Glenn Enright
@ 2005-12-30 13:53 ` Gerhard Hoogterp
0 siblings, 0 replies; 7+ messages in thread
From: Gerhard Hoogterp @ 2005-12-30 13:53 UTC (permalink / raw
To: gentoo-user
On Friday 30 December 2005 06:12, Glenn Enright wrote:
> 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?)
Hmm.. I use digikam also and never had the problem that it can't find the
right usb device. Only that it was owned by root. I do remember it was
incrementing the number too. Anyhow, can't help you there. Sorry..
Gerhard
--
Ithaka photography, http://ithaka.mine.nu/
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-12-30 13:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-29 16:54 [gentoo-user] Regular user can't offload usb camera` Michael Sullivan
2005-12-29 17:28 ` Christoph Eckert
2005-12-29 17:43 ` Gerhard Hoogterp
2005-12-30 0:05 ` Glenn Enright
2005-12-30 3:09 ` Glenn Enright
2005-12-30 5:12 ` Glenn Enright
2005-12-30 13:53 ` Gerhard Hoogterp
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox