If you wish to edit the ownership permissions of your Files / Directories you can use SSH chmod command. The topic of ownership is quite vast and we won’t discuss it in here, but we will show you the basic usage of this command so you can easily modify files and folders with the right permissions. In this knowledgebase article, we will show you the basic usage of the SSH chmod command.
Basic SSH chmod command usage
chmod 644 myFile.txt chmod 755 myDirectory
You can also specify each flag for chmod
chmod +x myScript.sh chmod -x index.php