linux.debian.bugs.dist
[Top] [All Lists]

Bug#373595: seeking advice on device ownership

Subject: Bug#373595: seeking advice on device ownership
From: Thomas Viehmann
Date: Thu, 31 Aug 2006 20:40:03 +0200
Newsgroups: linux.debian.bugs.dist, linux.debian.devel
tag 373595 + help
thanks

Hi everyone,

can someone help me with chown-ing a device in udev (or something better)?
I'm packaging libchipcard2 which includes a daemon (in
libchipcard-tools) run under a non-root uid. As it needs to access card
readers, I its user, chipcard, is automatically added to dialout. This
lets the daemon access serial readers and those USB readers working via
ttyUSB.
As there are other USB readers, accessed directly, I guess I now need to
write udev rules changing ownership.
Some questions:

- is it OK to chown the devices to user chipcard? (other chipcard
  software, e.g. pcscd from pcsc-lite seems to run as rood)
  via a provided udev script?
- can somebody help me write/test this? (I've got the USB vendor/product
  ID)?

Kind regards and thanks in advance

T.
-- 
Thomas Viehmann, <http://beamnet.de/tv/>


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy