I use GoDaddy aswell, 
if you go into the FTP file manager on GoDaddy, you can manually change permissions.  
However if you want to make changes dynamically in PHP.. I use a small routine listed below that works wonders.  I do this in Powerstore during my uploads.  Just change the parameters in the function to set permissions if you need a PHP solution otherwise do it manually with the FTP manager
Hope this helps...
chmod_R($path1, 0666,0777);
<?php 
// provide security for files/paths
function chmod_R($path, $filemode, $dirmode) { 
    if (is_dir($path) ) { 
        if (!chmod($path, $dirmode)) { 
            $dirmode_str=decoct($dirmode); 
            print "Failed applying filemode '$dirmode_str' on directory '$path'\n"; 
            print "  `-> the directory '$path' will be skipped from recursive chmod\n"; 
            return; 
        } 
        $dh = opendir($path); 
        while (($file = readdir($dh)) !== false) { 
            if($file != '.' && $file != '..') {  // skip self and parent pointing directories 
                $fullpath = $path.'/'.$file; 
                chmod_R($fullpath, $filemode,$dirmode); 
            } 
        } 
        closedir($dh); 
    } else { 
        if (is_link($path)) { 
            print "link '$path' is skipped\n"; 
            return; 
        } 
        if (!chmod($path, $filemode)) { 
            $filemode_str=decoct($filemode); 
            print "Failed applying filemode '$filemode_str' on file '$path'\n"; 
            return; 
        } 
    } 
} 
?>


