One of the hardest things for the beginner webmaster to get to grips with is how to use chmod
correctly to set permissions on files on UNIX and Linux web servers. You need to set the correct permissions on CGI scripts when you install them, to stop those dreaded “500 Server Error” messages.
In this tutorial, I’m going to explain the concept of permissions, and show you how to set permissions using your FTP program or via SSH.