Manual:chmod
From Linux Web Expert
The chmod
command (abbreviated from change mode) is a Unix command that lets a programmer tell the system how much (or little) access it should permit to a mediawiki file.[1]
Accessing files
If you are using FTP software, there is usually a menu option or button that says "Change Permissions," click this option. You have choices of R(read), W(write), and X(execute)[2].
If you are using a program such as PuTTy, you need to use the "chmod" command. How can I change permissions on my files?
Permissions
Permission | Command |
---|---|
Read permissions | chmod 744 yourfile |
Execute permissions[2] | chmod 755 yourfile |
Read/write permissions | chmod 766 yourfile |
All permissions | chmod 777 yourfile |
Recursion
If you want to make everything under the ./www subfolder be 755:
sudo chmod -R 755 ./www
Notes
- ↑ Tutorial for chmod
- ↑ 2.0 2.1 If you are changing permissions for scripts in Perl/CGI, you need to make sure they have execute permissions.