how to give read write permissions drive in ubuntu code example Example: linux give permission to folder sudo chmod -R a+rwx /path/to/folder