Solve sudo chmod / chown not permitted in Mac OS X


When you dealing with external files or copy files into your hardrive in Mac OS X, I believe you facing this issue “Unable to change files” or “Operation not permitted”. Even you already use “sudo” but you don’t permission to change permission or owner for this files.

This is happen when we dealing with files with other filesystem. The solution is simple and straightfoward :

1
sudo chflags -R /path/

After you using “chflags”, you can set “chmod” or “chown” without any problem.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.