Really strange problem here. I'm setting up an SVN server and I'm basically trying to enforce the following rules:
- All users have read-only by default
- svnadmin can write to the root (to create new projects) and to the project folder (to create the trunk/branches/tags directories)
- developers can create directories in //branches and can commit changes to //trunk
- Only the admin/project manager can create release tags
Here are my settings:
svnserve.conf
[general] anon-access = none auth-access = write password-db = passwd authz-db = authz
passwd
[users] svnadmin = svnadmin user1 = user1
authz
[groups] svnadmin = svnadmin developers = user1 [/] * = r @svnadmin = rw [/test-project/branches] @developers = rw [/test-project/trunk] @developers = rw
I logged in as svnadmin and created /test-project, /test-project/trunk, /test-project/branches, and /test-project/trunk - good.
Logged in as user1 and got access denied when trying to create anything in the root or in /test-project - good.
Still as user1, I created a folder in the trunk and added a file - good.
Now, I logged in as svnadmin and deleted the file... but I cannot delete the folder! More specifically, it says Access denied
svnadmin has rw on the whole repository, so why can't I delete /test-project/trunk/??? (of course, user1 can delete that folder).
Worse, I noticed that svnadmin cannot delete /test-project, /test-project/branches, /test-project/trunk, or /test-project/tags. I now have this test project tree in my repository and I can't get rid of it.
Is there something wrong with my settings? What can I do?