More permission problems

by Kevin on August 17, 2008
in Journal

I have been struggling with getting Nginx working on my server at home for the past week or so. Was really confusing me since the configuration files were migrated from my desktop machine unchanged where Nginx works perfectly. The error log said that there was a permissions error, google-fu said to change the ownership of the directory containing th files to www-data:www-data which never helped.

Pig Monkey suggested to check that the directories containing the files to be served had the right permissions. So I chmodded them to 755 and all was good.

I’m such an admin n00b. This is not the first time I’ve had permission errors. Those of you who I gave accounts to to mirror stuff will be all too aware of my screwups.

Mental note: when diagnosing problems, run chmod -R 755 . to see if that fixes things.

Comments are closed.