close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Can't change Write Permissions with GoDaddy

Thread began 12/12/2011 11:44 am by readyross433225 | Last modified 12/12/2011 9:37 pm by readyross433225 | 7670 views | 4 replies

DougBBeta Tester

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);

// provide security for files/paths
function chmod_R($path, $filemode, $dirmode) {
if (is_dir($path) ) {
if (!chmod($path, $dirmode)) {
print "Failed applying filemode '$dirmode_str' on directory '$path'\n";
print " `-> the directory '$path' will be skipped from recursive chmod\n";
$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);
} else {
if (is_link($path)) {
print "link '$path' is skipped\n";
if (!chmod($path, $filemode)) {
print "Failed applying filemode '$filemode_str' on file '$path'\n";

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...