Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread David Tomaschik
On 02/26/2011 10:29 PM, Grant Olson wrote: > On 02/26/2011 08:52 PM, David Tomaschik wrote: >> I have a 3310 and with pcscd, I haven't even found the need to use the >> scard group. I have found that occasionally I have to restart >> scdaemon in order to get new readers/cards recognized. I haven'

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Grant Olson
On 02/26/2011 08:52 PM, David Tomaschik wrote: > > I have a 3310 and with pcscd, I haven't even found the need to use the > scard group. I have found that occasionally I have to restart > scdaemon in order to get new readers/cards recognized. I haven't > narrowed it down specifically yet. (I ju

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Todd A. Jacobs
On Sat, Feb 26, 2011 at 5:53 PM, Hauke Laging > dev_device="${DEVICE//proc/dev}" > chgrp "${GROUP}" "${dev_device}" > chmod g+rw "${dev_device}" Thanks for the suggestion. However, $DEVICE isn't populated at all, although the udev rule appears to be triggering. My script now contains: #!/bin/bash

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread David Tomaschik
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a 3310 and with pcscd, I haven't even found the need to use the scard group. I have found that occasionally I have to restart scdaemon in order to get new readers/cards recognized. I haven't narrowed it down specifically yet. (I just got my

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Todd A. Jacobs
The following line in gnupg-ccid.rules will now create the /dev node with the correct permissions, but the card reader itself still remains inaccessible to non-root users: ACTION=="add", SUBSYSTEM=="usb", ENV{PRODUCT}=="4e6/511f/*", GROUP="scard" This seems like a simpler way to assign the GID, r

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Grant Olson
On 02/26/2011 07:45 PM, Todd A. Jacobs wrote: > I have an SCR3310 card reader on an Ubuntu 10.10 system, and installed > the drivers through the libccid package. This works out of the box for > root, but mortal users can't access the card at all. I tried a lightly > modified version of the scripts

Re: SCR3310 reader working for root, but not scard group

2011-02-26 Thread Hauke Laging
Am Sonntag 27 Februar 2011 01:45:26 schrieb Todd A. Jacobs: > $ cat /usr/local/sbin/gnupg-ccid.sh > if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] > then > chmod o-rwx "${DEVICE}" > chgrp "${GROUP}" "${DEVICE}" > chmod g+rw "${DEVICE}" > fi I had the same problem. My problem was th