This is because file system is locked
You can solved this problem by run below command.
$ chflags -R nouchg /path/to/nopermitted
補充:
話說,我不小心下了以下的指令
$ chflags -R /path/to/specific
造成/path/to/specific下的所有檔案Operation not permitted
解決方法:
$ ls -lOAe
發現檔案多了以下的uappnd,nodump,opaque property
$ chflags -R noupappnd /path/to/specific/*
$ chflags -R noopaque /path/to/specific/*
$ chflags -R dump /path/to/specific/*
將property取消即可
沒有留言:
張貼留言