how to change the permissions of a folder in mac code example Example: change folder permisson in mac sudo chmod -R 777 myFolder