Hi,
It may be a pain at first, but never set your directory permissions to 777. That can allow scripts and other malicious code full access to your machine. If you’re having issues with permissions and you are hosting on your own server, that is an issue we may be able to troubleshoot with more information, however if it’s a shared hosting account (ex:godaddy) then you would most likely need to contact them as to why your permissions are screwed up.