on my mac os system (v. 10.9.3) I wanted to uninstall my zsh so first of all I executed the uninstall script in zsh.
This failed so I wanted to delete the affected files by my own and am stuck here.
Everytime i try to rm the .oh-my-zsh directory or the .zsh_history (or any other file) file i get :
rm: /Users/username/.oh-my-zsh: Operation not permitted
I already tried to check for osx flags, but no flags are set (with ls -lO).
Also I tried to give the directory full permission (755) but the deletion also fails.
Does anybody know how to deal with this?
Thanks a lot.
EDIT:
see answer, was able to resolve this on my own.
Best Answer
Ok, i was able to resolve this on my own..
Somehow I had the nouchg flag on my home directory. So not the files inside had this flag but the Users/username directory.
So doing this:
i was able to delete the files.
Thanks for your input.