SVN – Operation Not Permitted – Mac
by justin on Jun.24, 2010, under Tech
I’ve recently had issues where I would create some files/folders in a working copy tree from subversion on my local Mac computer, and eventually would want to remove said files/folders. Sometimes I see the following occur:
rm: ./folder/.svn/all-wcprops: Operation not permitted
That “Operation not permitted” would end up occurring on many of the .svn files.
I found someone who said the following should work:
$ chflags -R nouchg ./folder/
$ chmod -R 777 ./folder/
$ rm -rf ./folder
$ svn cleanup
$ chmod -R 777 ./folder/
$ rm -rf ./folder
$ svn cleanup
And it worked like a champ!