Reputation: 4568
I am trying to remove a directory from my repository. I delete the folder and do an svn commit and i get the following error :
Error: Commit failed (details follow):
Error: Access denied
My user has rw permissions on [/], and i can commit new or modified files
any ideas on what the problem might be?
EDIT:
Seems i can perform single file deletes but i cannot remove a directory. Example i can remove \data\a.txt but not \data
EDIT2: my authz
[aliases] * =
[groups]
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,&joe
[/]
beta = rw
peras= rw
my password
[users]
beta = Bunny1981
peras = MyDearBunny
EDIT: solution is on comments of the right answer
Upvotes: 2
Views: 6925
Reputation: 16848
Are you using path-based authorization? If so, check your authz configuration for errors.
If you had said you could checkout, but not commit (add/modify/delete) and verified that authorization is OK, then I'd say check your working copy URL server name, there is a tricky issue (with path-based authorization) where checkout is case-insensitive (for server name), but commit is case-sensitive. In that case you need to do a relocate.
EDIT: Can you perform the delete remotely?
svn delete URL
That would remove the WC as source of problem.
Upvotes: 2
Reputation: 25147
When you delete the folder from the file system SVN believes something's missing in your copy, so it shows an error.
Instead, you should not delete the folder manually but telling SVN to delete it - that way SVN will delete the folder contents and mark it for deletion upon next commit.
You can use "svn rm" command for that operation.
Upvotes: 6
Reputation: 328624
Tell SVN that you want to delete the folder with "svn rm", then commit.
Upvotes: 1