change folder permissions mac terminal code example Example: change folder permisson in mac sudo chmod -R 777 myFolder