|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
I have a program that uses libusb and it only works from root. When I
try to run as a normal user I get errors like this: avrdude: usb_open(): cannot read serial number "error sending control message: Operation not permitted" avrdude: usb_open(): cannot read product name "error sending control message: Operation not permitted" avrdude: usbdev_open(): error setting configuration 1: could not set config 1: Operation not permitted I didn't see a usb group in /etc/group or anything like that. Can anyone tell me the preferred way to let users run programs that use libusb? Thanks, Britton Kerin -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On 09/10/2007 05:39 PM, Britton Kerin wrote:
> I have a program that uses libusb and it only works from root. When I > try > to run as a normal user I get errors like this: > > avrdude: usb_open(): cannot read serial number "error sending control > message: Operation not permitted" > avrdude: usb_open(): cannot read product name "error sending control > message: Operation not permitted" > avrdude: usbdev_open(): error setting configuration 1: could not set > config 1: Operation not permitted > > I didn't see a usb group in /etc/group or anything like that. Can > anyone > tell me the preferred way to let users run programs that use libusb? /usr/share/doc/libusb-0.1-4/README.Debian has some mount options that might be ful in your situation. -- Kind Regards, Michael Shuler -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Unfortunately someone on #debian on IRC said that the instructions in that file are incorrect when then udev-created device is involved. Or something like that. Sorry, I should have mentioned that originally. Britton On Mon, 10 Sep 2007 17:45:58 -0500, "Michael Shuler" <michael@pbandjelly.org> said: > On 09/10/2007 05:39 PM, Britton Kerin wrote: > > I have a program that uses libusb and it only works from root. When I > > try > > to run as a normal user I get errors like this: > > > > avrdude: usb_open(): cannot read serial number "error sending control > > message: Operation not permitted" > > avrdude: usb_open(): cannot read product name "error sending control > > message: Operation not permitted" > > avrdude: usbdev_open(): error setting configuration 1: could not set > > config 1: Operation not permitted > > > > I didn't see a usb group in /etc/group or anything like that. Can > > anyone > > tell me the preferred way to let users run programs that use libusb? > > /usr/share/doc/libusb-0.1-4/README.Debian has some mount options that > might be ful in your situation. > > -- > Kind Regards, > Michael Shuler > > > -- > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmaster@lists.debian.org > -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|