permission to write in folder linux chown code example Example: linux give permission to folder sudo chmod -R a+rwx /path/to/folder