[Muscle] testpcsc not working when not root

Ludovic Rousseau ludovic.rousseau at gmail.com
Tue May 19 07:45:40 PDT 2009


2009/5/19 Sébastien Lorquet <squalyl at gmail.com>:
> well that's the case. I have a /var/run/pcscd directory with files inside. I
> was mistaken by running ls -l /var/run/p*
>
> When stracing the program as root, I can see the program locked on select()
> for card insertion.
>
> When stracing the program as a user, I can see that a stat64 fails with
> EACCESS on /var/run/pcscd/pcscd.pub
>
> in fact /var/run/pcscd was created with rights 700.
>
> it's ok by chmoding it with u+x
>
> I did not create this directory, who did it? pcscd itself?

yes, by pcscd.
The access rights could be wrong if you use a restrictive umask.

I just corrected the problem in revision 4213
http://lists.alioth.debian.org/pipermail/pcsclite-cvs-commit/2009-May/003715.html

Thanks

-- 
 Dr. Ludovic Rousseau



More information about the Muscle mailing list