On Fri, Aug 05, 2011 at 12:14:47AM +0200, Hauke Laging wrote:
> Am Freitag, 5. August 2011, 01:49:21 schrieb Luis de Bethencourt:
> 
> > I can get/set the information of the card through the root user
> 
> > Notice how I can check the status as root, and do SCD Learn as my user.
> > But= not
> > check the status as my user (or sign my mails, which is the main problem).
> > = Also
> > pcsc_scan works with my user, it shows the Serial number of the card.
> 
> Is this an access rights problem with the card reader device file? Different 
> defaults with Gentoo and Debian maybe?
>

device in debian:
crw-rw-r--+ 1 root root 189, 516 2011-08-05 00:46 /dev/bus/usb/005/005

device in gentoo:
crw-rw-r-- 1 root pcscd 189, 395 Aug  5 02:56 /dev/bus/usb/004/012

my user is part of the pcscd group. I just checked.

 
> Of course, this explanation does not make sense if pcsc_scan can access the 
> device. Is pcsc_scan installed with SUID or SGID?
>

-rwxr-xr-x 1 root root 15K Aug  4 22:47 /usr/bin/pcsc_scan

no suid/guid as far as I can see.
 
> 
> CU
> 
> Hauke
> -- 
> PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814

Thanks for thinking about this :)

Luis


Attachment: signature.asc
Description: Digital signature

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to