linux folder permissions command code example
Example 1: linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
Example 2: all folder permissions terminal
sudo chmod -R -f 777 /path/to/your/file/or/directory
sudo chmod -R a+rwx /path/to/folder
sudo chmod -R -f 777 /path/to/your/file/or/directory