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?
|All times are GMT. The time now is 11:21 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0