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