Richard,
Thanks for the reply.
'top' shows that the script is being run as nobody.
the '2<' stuff allow the password to be passed as a file descriptor and I
think it is this that is breaking.
I have setup a nobody directory just for this. I then set the HOME variable
to point to this directory.
>Hi,
>Appologies if this comes through twice. I tried to post it via goolg groups
>but it didn't seem to work.
>
>
>If I run the following script from within apache, then the script
>fails and returns $error=2
>$data="this is a test";
>$GNUPGHOME="/home/nobody/.gnupg";
>putenv("GNUPGHOME=$GNUPGHO
2 matches
Mail list logo