¿Por qué no funciona el código?
mkdir new_folder
cd new_folder
cd ..
chmod 666 new_folder
cd new_folder //this is allowed
ls -la
total 0
drwxrw-rw- 2 David staff 68 Mar 16 18:20 .
drwx------@ 10 David staff 340 Mar 16 18:20 ..
Davids-MacBook-Pro-2:new_folder David$ cd ..
ls -al | grep new_folder
drwxrw-rw- 2 David staff 68 Mar 16 18:20 new_folder
Desktop David$