参考旧论坛mkdir没有通过PHP工作

I have few query in reference to old forum mkdir() not working

my webserver is running as daemon and I am running php scripts from /home/gpsr/webserver/cgidocs/username/website. suppose username is thind in this case. thind has pemission to write in /home/gpsr/webserver/cgidocs/thind directory.(as granted by admin. of server). but do not have sudo permission.

OS:ubuntu12

Here I am facing the same problem as mention in above linked forum. Daemon (or php script running from above mention directory) cann't create folder. (error: permission denied). How I can solve this problem.