At 04:43 21.03.2003, Philip J. Newman said: --------------------[snip]-------------------- >MY ERROR: > >Warning: mkdir(/home/newmanpj/public_html/galleries/philip/20030320223553) >[function.mkdir]: Permission denied in >/home/crushme/public_html/siteadmin/upload_set_step3.php on line 72 > >MY PROBLEM: > >$siteGalleryUserPath when it is made by PHP dose not give 0777 access for >$destination to be made. --------------------[snip]--------------------
The access mode of a directory created by any webserver-run application is dictated by the umask of the webserver process which is usually 022 or 002, giving rw/access only to the owner (the webserver user), or to the owner and owner group. The error you are receiving points to a different situation though - it seems that either the directory where your script wants to create a subdirectory in doesn't grant "write" permission to the webserver user, or the subdirectory below (...ies/philips) does not (yet) exist. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php