in reply to Failed System/Exec Call under Right Permission with CGI

For debugging, I'd recommend using Cwd, output the current working directory of your script to STDERR and check in the apache error log where your cwd and .. end up.

You can be goofed on the path e.g. by

Also, your directories belong to myname:myname (user:group) and their flags are drwxrwxr-x, so they are likely not writeable by apache (if apache doesn't run with UID/GID of myname).

If you want to execute the cgi scripts on behalf of another user than the one apache is running under, have a look at suexec (link points to apache 1.3 doc).

--shmem

_($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                              /\_¯/(q    /
----------------------------  \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}