linux all permissions to folder code example
Example 1: linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
Example 2: permission terminal ubuntu
chmod ugoa+rwx fichier3
sudo chmod -R a+rwx /path/to/folder
chmod ugoa+rwx fichier3