From my testing with a fresh copy install of XUbuntu-22.04.1 as guest of VirtualBox, the "/run/user/[0-9]*/** mr," appears to allow access to any file in my /usr/run/1000 directory.
When I use firefox's "Security Devices... Load" and browse for a module, I give the path to the system version of the module(s) I have tried: both /usr/lib/x86_64-linux-gnu/pkcs11/p11-kit-client.so and /usr/lib/x86_64-linux-gnu/pkcs11/opensc-pkcs11.so. Both get a "Unable to add module" and the location shown in /run/user/1000/doc/48e09223/p11-kit-client.so /run/user/1000/doc/e3261d9/opensc-pkcs11.so
So it looks like it find the files and copies to /run/user/1000/doc/*.
But both of these modules need access to other libs and also need to use pcscd to access the smartcard readers.
https:/ /launchpad. net/~liuck can you give some more information:
What PKCS11 module are you using?
What version of Ubuntu?
From my testing with a fresh copy install of XUbuntu-22.04.1 as guest of VirtualBox, the "/run/user/ [0-9]*/ ** mr," appears to allow access to any file in my /usr/run/1000 directory.
When I use firefox's "Security Devices... Load" and browse for a module, I give the path to the system version of the module(s) I have tried: both /usr/lib/ x86_64- linux-gnu/ pkcs11/ p11-kit- client. so and /usr/lib/ x86_64- linux-gnu/ pkcs11/ opensc- pkcs11. so. Both get a "Unable to add module" and the location shown in /run/user/ 1000/doc/ 48e09223/ p11-kit- client. so /run/user/ 1000/doc/ e3261d9/ opensc- pkcs11. so
So it looks like it find the files and copies to /run/user/ 1000/doc/ *.
But both of these modules need access to other libs and also need to use pcscd to access the smartcard readers.
https:/ /launchpad. net/~tnetter lib/libcvP11. so" /forums. epo.org/ new-version- of-the- cryptovision- software- 12191#p40162
Can you give some more information about "/usr/local/
It is not clear why this works with: https:/
It may be that this is a simple library and does not use pcscd.