give read write edit permission to directory ubuntu 18.04 code example Example: linux give permission to folder sudo chmod -R a+rwx /path/to/folder