docs: function(callback) {
              // Optional permission modification
              if (disablePerms) {
                callback();
                return;
              }
              
              grunt.verbose.writeln('changing file perms...');
  
              // 511 = 0777 octal
              ftpout.raw.site('chmod', (file.mode & 511).toString(8), file.dest, function(err) {
                // Windows and some hosts don't implement the CHMOD site extension
                if (err && err.code !== 502 && err.code !== 504) {
                  done(err);
                  return;
                }
  
                grunt.verbose.writeln('done changing perms');
                callback();
              });
            }