GnuPG::Interface
Alessandro Vesely
vesely at tana.it
Mon Apr 23 09:29:07 CEST 2007
Linda Jen wrote:
> I am new to this list and to GnuPG.
so am I
> I get the following messages in my apache server log:
>
> [Fri Apr 20 14:10:45 2007] [error] [client 852.12.22.138] gpg: WARNING:
> unsafe permissions on homedir
> "/xxxxxxxxxxxxxxxx/.gnupg", referer:
This is actually a warning. Do ls -labd /xxxxxxxxxxxxxxxx/.gnupg
to understand why it is complaining. Probably too many permissions.
> http://yyyyyyyyy/test/login.test2.html
> [Fri Apr 20 14:10:45 2007] [error] [client 852.12.22.138] gpg: failed to
> create temporary file
> `/xxxxxxxxxxxxxxx/.gnupg/.#lk0x9b7bf18.xxxxx.13310':
> Permission denied, referer:
That was the opposite: not enough permissions.
> -----------------------------------------------------------------------
> One suggestion I read was to chmod u+s on the executable. None of these
> worked.
Drives can be mounted so as not to honor sticky bits.
Check Apache documentation for safe ways to run suid execs.
> Changing owners to root or the server (httpd) doesn't seem to help.
Not if you do it the wrong way. Try logging in as the user that the app
will run as. Give just the permissions required for doing what you need.
You may consider creating a new user and/or group just for that.
Hope this helps
Ale
More information about the Gnupg-users
mailing list