Setting Right Permissions on Website Files

So you set up your Apache or any other webserver on Linux or OS X? Ideally you want to grant access to your website files only for yourself as user and your webserver.

Here’s how it’s done: