For some reason, the server will inly allow the files to be accessed if the permission is set to allow read write for the public, either 767 to 777
it should be able to work with 755 for folders and 644 for files. you should contact the host to determine why you have to give such elevated permissions to run access files and folders on the site, it should not require 777 like it is now.