files & folder ownership issue with my new server
Hello,i use simple php function like this to create folders like this:
mkdir("path/to/dir", 0777);
the folder "dir" gets made, but the permission 0777 does not apply. Also, the ownership of the folder is not my cpanel username, rather, it is "root".
I asked my dedicated server provider, and they said, recompile php, do this and that and nothing worked.
So, i came across this option in php chown(); and tried it, even that wont work, it says "you are not permitted to do this" bla bla... see for your self - http://p8a.net/chown.php
How can i fix this wierd issue?
Thanks in advance for your help
