how to give write access to a folder in mac code example
Example 1: change folder permisson in mac
sudo chmod -R 777 myFolder
Example 2: all folder permissions terminal
sudo chmod -R -f 777 /path/to/your/file/or/directory
sudo chmod -R 777 myFolder
sudo chmod -R -f 777 /path/to/your/file/or/directory