How to access a USB hard key as ordinary user?
I am using a hardware USB key, and when I am logged in as root everything works fine. I can access it, read its memory, write to it, everything...
When I log in as different user (not root), I get the message as though the key is not in the USB port or the daemon for the USB port is not running.
I tried several things:
I do have execute permissions for the daemon,
I am getting a response from the key when I type
cat /proc/bus/usb/devices, so the system does see the key, only, I can't access it from my program.
In my /etc/fstab the line is:
usbdevfs /proc/bus/usb usbdevfs noauto,user,exec 0 0
Can anyone help?