When installing software on your domain account or server it is often necessary to change file permissions to make software work properly. Here is a quick guide of how to change file permissions on your system (no matter if it is a hosting account or server).
|If you are using a FTP software client, there is usually a menu option or button that allows you to “Change Permissions”. You will have choices of R(read), W(write), and X(execute) or to set a number code which would represent the permission level you want to set.
If you are using the command line to change file permissions you can use a utility such as PuTTy. The actual command you need to use, is the “chmod” command.
If you want to give read permissions, use the following command:
chmod 744 filename
To give execute permissions*, use the command:
chmod 755 filename
To give read/write permissions, use the command:
chmod 766 filename
To give all permissions, use the command:
chmod 777 filename