giving permission to folder in linux code example
Example 1: linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
Example 2: give full permission to folder and subfolders in linux
linux folder
sudo chmod -R a+rwx /path/to/folder
linux folder