Re: [PHP] files created with mkdir and open(file,"w+) are owned by nobody

2001-05-07 Thread tk
the owner of the files i believe will be hte user running the webserver since the webdserver itself is making the files. apache by defauly runs as nobody:nobody if you want to change this i think php has a chown funciton or you can run your webserver as a different user name/group Ryan Hilton

[PHP] files created with mkdir and open(file,"w+) are owned by nobody

2001-05-07 Thread Ryan Hilton
I'm creating directories and files inside of a php program and they are owned by nobody. How can I assign an owner to them and who should the owner be? Where is documentation for these types of questions? Here is the code snipet: create a directory - I would also like to create it with 775 pr