The Correct Way To Set Up Web Server File Permissions

Working with Web servers and file permissions can sometimes be tricky. If not set up correctly you can run into situations where your Web server is not able to create/write files and therefore generating errors, or a situation where your Web server works correctly but you are not able to work with the files either via FTP or when running