Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428088 - sys-apps/pcsc-lite: serial emulated devices don't work due to permission issues
Summary: sys-apps/pcsc-lite: serial emulated devices don't work due to permission issues
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-25 19:01 UTC by Hanno Böck
Modified: 2012-12-15 00:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2012-07-25 19:01:01 UTC
I have a GemPC cardbus card reader which works with the ccid driver.

However, it doesn't work out of the box due to missing permissions of pcscd. The device emulates a serial device (serial_cs driver in kernel) and pcscd doesn't have the appropriate permissions to access that. When I start pcscd as root it works.

I think the proper fix would be adding the pcscd user to the uucp group.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-07-26 14:53:54 UTC
Do you have an udev rule that can change the permission of the driver?
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-15 00:20:48 UTC
I agree with flameeyes, we do not want pcscd to access all serial devices, use a custom udev rule for assigning correct privileges for this specific serial.