[Muscle] testpcsc not working when not root

Ludovic Rousseau ludovic.rousseau at gmail.com
Tue May 19 06:37:33 PDT 2009


2009/5/19 Sébastien Lorquet <sebastien.lorquet at gmail.com>:
> Hi,

Hello,

> I'm using pcscd-1.5.3 with ccid-1.3.10 and libusb-0.1.12 on a redhat 3 box
> with a 2.4.21 kernel (no, I have no choice)
>
> pcscd is working fine with libusb.
>
> I'm now trying to use it :)
>
> testpcsc works fine when I run it as root.
>
> But it says: "service not available" when I run it as a normal user.
> Note that it does NOT display "PCSCD not running".
>
> Any clue here? I just installed the pcscd script to /etc/init.d and used
> chkconfig to install links.
>
> The reader is not the cause, it's a teo by xiring and it works like a charm
> when I run testpcsc as root.
>
> Also, note that /var/run/pcscd.comm is srwxrwxrwx, I did not touch it.
>
> I installed pcsc-lite by running as root:
> ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
> --disable-libhal && make && make install

pcscd should create files in /var/run/pcscd/ instead of /var/run

I guess your system has a mix of old and new pcsc-lite installed.

You can also use strace(1) to know what is going wrong when testpcsc
is run as a normal user.

Bye

-- 
 Dr. Ludovic Rousseau



More information about the Muscle mailing list