On Jun 13, 2006, at 3:49 PM, Marek Stepanek wrote:
I am unable to help myself out of this problem. My module cpan is
always
complaining, when I issue an install command with errors like follows:
***
gpg: WARNING: unsafe ownership on configuration file
`/Users/mareklaptop/.gnupg/gpg.conf'
It means that the user running gpg (root) is not the same as the user
that owns the gpg.conf file (mareklaptop).
If verifying module signatures is your only use for GPG, you could
simply chown that file to make it owned by root.
A better option is to install and use the latest CPAN.pm module,
which allows you to supply an alternative to the final "make install"
command. You can configure it to use "sudo make" instead of just
"make" for that step, so that you no longer have to run the CPAN
shell itself with sudo. That, in turn, means that *only* the install
step will be run as root; the download, build, and test steps will be
run as your normal user login.
The second option is more work, but it reduces the amount of stuff
that's running as root - which is always a good idea.
sherm--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org