setting permission of files and folders inside a folder linux code example Example: linux give permission to folder sudo chmod -R a+rwx /path/to/folder