Re: [PHP] Re: php cgi question

2002-10-14 Thread David Cook
Okies, FINALLY I think I have the reason (though not the solution as yet) Marco, you were spot on, which I hadn't pursued properly, only looking at the immediate parent directory permissions. In fact the whole ~vpopmail structure down to the individual users directory has a VERY restrictive set o

Re: [PHP] Re: php cgi question

2002-10-13 Thread Marco Tabini
Ok, that's a big step forward then. It's possible that your user does not have access to the directory tree where the file resides? Have you tried listing that directory and or opening the file (for example with cat) while using that file? If you can narrow it down to a permission problem (and, at

Re: [PHP] Re: php cgi question

2002-10-13 Thread David Cook
hmmm safe mode is disabled - for the apache module version from phpinfo() safe_mode Off Off > Just out of curiosity--have you tried su-ing to the Apache user and > executing your script as that user? yep, same result (although I had to change the apache user for a few minutes so it had a shell..

Re: [PHP] Re: php cgi question

2002-10-13 Thread Marco Tabini
I think you might be unable to access documents outside the root if you're in safe mode. Just out of curiosity--have you tried su-ing to the Apache user and executing your script as that user? On Sun, 2002-10-13 at 21:36, David Cook wrote: > Hi again all > > Just a bit more info, trying to trac