Manual:chmod

From mediawiki.org
(Redirected from Chmod)

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[edit]

With the WinSCP program, you can change permissions

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[edit]

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[edit]

If you want to make everything under the ./www subfolder be 755: sudo chmod -R 755 ./www

Notes[edit]

  1. Tutorial for chmod
  2. 2.0 2.1 If you are changing permissions for scripts in Perl/CGI, you need to make sure they have execute permissions.

See also[edit]