Quote Originally Posted by Paresh View Post
This worked for me, if I ran
Code:
sudo fprint_demo
but if I ran just
Code:
fprint_demo
It would not work.

I tried the workaround of adding my user to the plugdev group and the I got
Code:
error loading enrolled prints
This turned out to be because the /home/user/.fprints directory was owned by root, so I did
Code:
sudo chown -R $USER /home/user/.fprints
it started working.

Is this correct, or have I opened a security hole?


Although fprint_demo works on my Tecra A9, it does report a couple of errors while scanning or verifying
Code:
upekts:error [read_msg] non-zero bytes in cmd response
upekts:error [read_msg28] expected response, got -1 seq=0
Both messages are produced for each action.

I get this every time the scanner is used, eg verifying your finger and enrolling your finger produce this error, but deleting a fingerprint file does not. Also on enrolling, I only get the error once, not three times.
Thanks for the tip, I had the same issue

Code:
error loading enrolled prints
and I fixed it using your tip

Code:
sudo chown -R $USER /home/user/.fprints
but found what I think was a typo and it should read
Code:
sudo chown -R $USER /home/user/.fprint
I also found that I had a better success verifying with a lesser used (worn) finger

I too however am concerned about security issues with chown of that folder.