Thread:Project:Support desk/Permission Denied error

We're getting this error: Warning: mkdir [function.mkdir]: Permission denied in /home/.../GlobalFunctions.php on line 1943

It doesn't have to do with either the image directory, nor the upload directory - both are writeable by the webserver.

Suggestions?

MW 1.14.0 using php 5.2.11