Chmod
When you chmod a file, you change its Unix permissions, that is, who is allowed to read/write/execute the file. It would not be practical to do anything else than save file permissions as numbers, hence the weird looking "chmod three-digit-number" commands. I gather the majority of people just want to know how to chmod files. So, the only thing you need to know is that a)chmoding can make files executable and b)can cause security holes in some cases (777 in particular). Chmod 777 means the file is writable by anyone and chmod 755 is used for the permissions of most cgi scripts.Chmod
It's pretty easy to chmod files with a gui ftp client, like Cuteftp. The option to chmod is usually somewhere under "properties" in these programs. But if you want to chmod files in Windows, using the standard ftp.exe (which is command-driven) there is a complex command you need to type. It is:
literal site chmod 755 yourscript.cgi
You off course need to change the number 755 to the one suggested by the manual you are reading and yourscript.cgi to whatever file you want to chmod (not only cgi files). If this doesn't work, try:
site chmod 755 yourscript.cgi
and
chmod 755 yourscript.cgi
Feel like this chmod tutorial is not helping you? Then buy a more detailed Unix Guide from Amazon.com!
Copyright 2002 - 2006 by Tomb Raider 4U Privacy Policy