I downloaded a theme and it stated the following:
Chmod the scripts folder inside wp-content/themes/fotofolio into world writeable 777. For several webhosting services, chmod 777 is not allowed for security reason and if does, your picture will not show up.
The theme is for photos. I don't know why 777 is needed to allow the display of photos. Doesn't 777 open up your site to a security breach? If so, why would any theme suggest using it.