Permission problems driving you crazy? Here's a common command to fix them:
chmod -R 755 directoryname
Change the file permissions of all directories and files in directoryname to 755.