This demo assumes you are already using a SSH client, and you know how to navigate it. For this example, we are using PuTTY.

1) Change to the directory that the file/folder you wish to change the permissions of resides in

Example: cd /public_html/

2) Use the CHMOD command to change the permissions of the file/folder you wish to modify

Example: chmod 755 test.php

For more information about permissions, please see this article.

That’s it! You have now changed the permissions for this file.