FTP - File Transmission Protocol
What is "CHMOD" and what do all those numbers mean?
Basically CHMOD refers to setting the access privledges for a file.
- 777: all can read/write/exec
- 755: owner can do all, group/others can read/exec
- 644: owner can read/write, group/others can read only
For Directories:
- 777: all can read, write, search
- 755: owner can do all, others and group can only search
Typical settings:
- cgi scripts: 755
- data files: 666
- configuration files: 644 (files not updated by scripts)
- directories: 777 (with proper permissions on files
in directory)