Gpg --card-status warning

trying to access a new nitrokey pro but getting a warning from gpg on ubuntu 12.04

I installed libccid, added to nitrokey data to libccid_info.plist file, installed the udev rules file from

I seems I can only see the card through gpg with root:
sudo gpg --card-info

but then I get a warning:
gpg: WARNING: unsafe ownership on configuration file `/home/somedude/.gnupg/gpg.conf’

Its the key of “somedude” I want to use - why am I getting this warning?

I think it has nothing to do with Nitrokey.

See this thread:

turned out the problem was the udev rules file. after fixing the file i can see the card without sudo.