linux give permission for all folder and files in folder code example Example: linux give permission to folder sudo chmod -R a+rwx /path/to/folder