[PHP] Script uid/gid

2002-02-07 Thread Roberto P.Martins Jr
Hi! I'd like to know why a php script stored at the cgi-bin directory, with the php binary stored outside the webserver tree, runs with the uid/gid of the parent process, even when the setuid/setgid bits set, ignoring them!!! Thanks in advance, Roberto -- PHP General Mailing List

[PHP] safe mode/mkdir problem - HELP!

2002-02-05 Thread Roberto P.Martins Jr
Hello! I'm trying to create a directory, let's say: /some/dir. My script (create_dir.cgi) is located at the cgi-bin directory and begins with #!/usr/bin/php. So it's like any other script, isn't it? The problem is: running php in safe mode with the script permissions: rwxr-xr-x 8