Chmod is a UNIX and Linux command for setting file or directory permissions. It is a confusing topic until you learn it, but it is needed if you plan to work with UNIX or Linux web servers.