Am Sonntag 27 Februar 2011 01:45:26 schrieb Todd A. Jacobs: > $ cat /usr/local/sbin/gnupg-ccid.sh
> if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ] > then > chmod o-rwx "${DEVICE}" > chgrp "${GROUP}" "${DEVICE}" > chmod g+rw "${DEVICE}" > fi I had the same problem. My problem was that $DEVICE does not point to /dev but to /proc. You can easily check that by putting ls -l "${DEVICE}" >> /root/gnupg-ccid.log into the script. My script looks like this: dev_device="${DEVICE//proc/dev}" chgrp "${GROUP}" "${dev_device}" chmod g+rw "${dev_device}" Hauke -- PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users