smart card + gpg only root

Federico Munerotto mune72 at tiscali.it
Wed Jul 20 16:27:04 CEST 2005


Il mer, 2005-07-20 alle 15:03, Werner Koch ha scritto:
[...]
> $ ls -l /proc/bus/usb/001/014
> -rw-rw-r--    1 root     scard    18 Jul 20 11:13 /proc/bus/usb/001/014
[...]
Ok. Works

BUT

if the device is unplugged and then plugged again, belongs again to the
root group and isn't writable again (change its location). I need to set
up hotplug to 
1. chgrp to the proper group
2. chmod +rw scard
the file that is created.

After replugging the USB of the raeder:
[root at lello gnupg-1.4.1]# /sbin/lsusb
Bus 003 Device 006: ID 058f:9520 Alcor Micro Corp.
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 003: ID 046d:c501 Logitech, Inc. Cordless Mouse Receiver
Bus 002 Device 002: ID 046d:c309 Logitech, Inc.
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root at lello gnupg-1.4.1]# ll /proc/bus/usb/003/006
-rw-r--r--  1 root root 111 20 lug 15:52 /proc/bus/usb/003/006

-- 
Fede
_________________________________________________________________________
       mune (at) fsfe.org            Ing. Federico Munerotto               
   home    http://www.krl.it/~mune
Public key http://www.krl.it/~mune/personal/misc/pk/pk.html
   http://www.krl.it/~mune/personal/misc/signoraggio/
_________________________________________________________________________
"... all the modern inconveniences ..."
		-- Mark Twain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
Url : /pipermail/attachments/20050720/af780b13/attachment.pgp


More information about the Gnupg-users mailing list