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 nitrokey.com/start

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: stackoverflow.com/questions/2182938/gpg-warning-unsafe-ownership-on-configuration-file-gpg-fingerprint-on-ubun

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