I deleted manually a directory I just added, offline, in my repository. I can\'t restore the directory.
Any attempt to do an update or a commit will fail with:
I had this error recently. It was caused by root owning a couple of files in the directory giving this error.
After I changed the permissions everything worked as expected.