View Single Post
Old 07-28-2008, 02:28 AM   #1 (permalink)
Jako
The Wanderer
 
Join Date: Jun 2005
Posts: 21
Thanks: 1
Jako is on a distinguished road
Default mkdir permission issues

I'm running a php script that is making a directory using the mkdir() function. Everything works fine, but when the directory is made and I look in FTP the user and group is set to 99 which is apache, etc. This is due to the fact that I'm not running the script at root permission.

I've tried to then run a chown() to change the permission or even and exec() to change it.

Nothing has worked when I've looked in FTP.

Does anyone know of any solutions?
Jako is offline  
Reply With Quote