Changing the permissions to 777 might not be enough make sure that the group ownership and user ownership of the file or folder is set properly usually to the username of the hosting account. If you are able to access the webserver via ssh you may do so very easily.
I had an issue before where the file permissions were 777 but the file was owned by nobody and the group permissions were set to nobody. Once I logged as the root user for that server and changed the group and user permissions it all worked.
Example: You can use the following command if you are logged in via SSH to update the user and group permissions.
Code:
chown -R yourusername cache
chgrp -R yourusername cache
For a more in depth look check this link out it helped me in the past.
http://mason.gmu.edu/~montecin/UNIXpermiss.htm
Bookmarks