Access to '/SVN/[repo name]/!svn/me' forbi

2019-04-04 01:15发布

This question already has an answer here:

I am having some issue with some SVN users where they get the following message

Access to '/SVN/[repo name]/!svn/me' forbidden

I am having some issues figuring out the root cause of it.

The current setup is using Visual SVN on windows. We are using SVN security for the users, not AD. The users are that are having some issue are vendors(but not all of them), so they do have different permissions then an average user. But the weird thing is, I shadowed the user using Live meeting. They try to commit and get the message above. I clear their credentials from Tortoise SVN and use mine and everything is fine. The user is logged into the server as themselves and using my user info for SVN. But their is no link between the SVN users and windows users. Also the user was initially able to commit new files. I looked through SVN and I dont see anything wrong. Any ideas? Anyway to get more information about what is wrong.

8条回答
Deceive 欺骗
2楼-- · 2019-04-04 01:38

Using OS X and svn command line, I get this error when I checkout another application from the same server with another username.

My solution is to clear the credential. The key point is to find where credential information is located. Run svn auth to can see the detail. In my case, it is located at /Users/joy.zhu/.subversion/auth/svn.simple. There is cache file, just remove it.

Update (Or commit...) again, username/password are asked, then you can enter the correct data. Everything goes well then.

查看更多
疯言疯语
3楼-- · 2019-04-04 01:41

Sorry, bahrep was correct that the url had an issue since it was case-sensitive. I am confused why when I cleared the credentials and put in my how the url was corrected.

I was able to correct the URL in TortoiseSVN, by:

  1. right-clicking on the Repository location
  2. Selecting TortoiseSVN --> Relocate
  3. Correct the url and Click Relocate
查看更多
劫难
4楼-- · 2019-04-04 01:43

Check authentication data.

In TortoiseSVN: settings\Saved Data\Authentication Data\Clear...

Perhaps you have more than one user/pass

查看更多
Summer. ? 凉城
5楼-- · 2019-04-04 01:45

I had encountered the similar problem(in windows os), and share my solution here.

problem:

Access to '/svn/project01/!svn/rvr/18022/trunk' forbidden

solution:

  1. Find the root directory of the project01 repository, if you are in the d:\svn\repproject01
  2. Modify VisualSVN-SvnAuthz.ini file
  3. Delete the configuration block similar to the following

    [/xxx]
    user01= 
    
  4. run services.msc Restart SVN service

查看更多
祖国的老花朵
6楼-- · 2019-04-04 01:53

For me the reason wasn't URL case-sensitivity but http vs. https. The solution was to relocate from

http://svn.code.sf.net/...

to

https://svn.code.sf.net/...
查看更多
唯我独甜
7楼-- · 2019-04-04 01:54

In my case i was getting the same "Access Denied.." message and my repository URL was correct.

This worked out for me

  1. Go to Window in eclipse
  2. Window -> Preferences -> Team -> SVN
  3. Check whether all your svn preferences are set properly.(I changed SVN interface client from JavaHL(JNI)1.8.14(r1692801) to SVNKit (Pure Java) SVNKit v1.8.11.10483)

enter image description here

查看更多
登录 后发表回答