You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Mindaugas Riauba <mi...@tdd.lt> on 1999/11/27 16:01:56 UTC
suEXEC
Don't know if this is correct place to post that but still.
log_err("(%d)%s: exec failed (%s)\n", errno, strerror(errno), cmd);
line at the end of suexec.c seems a bit strange to me. log file is closed
few
lines above. And usually suexec cannot reopen its log for write because it
is
already runing with non-root permissions and suexec.log is owned by root.
And then for example script with "#!/usr/local/bin/perl" instead of
"#!/usr/bin/perl" in the first line run under suexec produces weird error
messages:
failed to open log file
fopen: Permission denied
into error log.
Mindaugas