Cannot Install Plugins

Will not install any other plugins saying that the permissions on the folders are incorrect but I have set them all to 777 so it should be fine.