PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > permissions problems when using libusb
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

permissions problems when using libusb

Réponse
 
LinkBack Outils de la discussion
Vieux 10/09/2007, 23h40   #1
Britton Kerin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut permissions problems when using libusb

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
  Réponse avec citation
Vieux 10/09/2007, 23h50   #2
Michael Shuler
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: permissions problems when using libusb

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
  Réponse avec citation
Vieux 11/09/2007, 21h10   #3
Britton Kerin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: permissions problems when using libusb


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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 19h44.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10596 seconds with 11 queries