Hello,
I have a script that needs to create folders and append files however, when the folders are created by the script, the user is "nobody" and the files that need to be updated will not due to the following error "[function.file-put-contents]: failed to open stream: Permission denied". I checked get_current_user() and it did show the right user and phpinfo() showed "User/Group: nobody(99)/99".
It seems like the script is being ran by nobody. How would I go about running the script from the user?
Thanks for the help!
Dustin