2014-09-22 2 views
1

커밋하려고하면 다음 오류가 발생합니다. 이 유형의 문제에 직면 한 사람이 있으면 아래에 해결 방법을 게시하십시오. 에서커밋하는 동안 다음 오류가 발생합니다.

Command: Commit Error: Commit failed (details follow): Error: Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY Error: request for '/svn/!svn/act/3b83fce9-ef52-f148-8f08-f84f900e99dd' Finished!:

+0

가능한 [svn : MKACTIVITY 403 금지] (http://stackoverflow.com/questions/1032209/svn-mkactivity-403-forbidden) – Vadzim

+0

중복이 가능합니다. http://stackoverflow.com/questions/57137/403 -forbidden-error-using-subversion – Vadzim

답변

1

This problem is often about different permissions for different SVN paths.

If you get

Commit failed (details follow): Server sent unexpected return value (403 Forbidden) in response to MKACTIVITY request for '/svn/reponame/your/path'

First, try to write to another SVN path on the server. If that is also not possible, admin maybe needs to check IP based restrictions, or LDAP-based restrictions.

In the case you cant write to that specific Dir,

it is very likely your user has no write permission for the path /svn/your/path. I.e. path based permissions configuration issue.

Check: 1. Go to command line; 2. do svn ls svn://your.server/svn/reponame/your/path (the full URL of the path); 3. Enter credentials if needed. If you have no access, you user can’t even read the path 4. If you can list the path, user can read, but probably can’t write

Next thing is to contact the SVN Admin. And for Admin is to check the svnaccess privileges

(See here http://svnbook.red-bean.com/en/1.1/ch06s04.html#svn-ch-6-sect-4.4.2)

The reason you cannot read the path may be that the svnaccess file which has restriction for your user or your group.

[reponame:/some/path] SomeuserOrGroup = r

Admin could probably test that by commenting out the line

AuthzSVNAccessFile /path/to/access/file

in httpd.conf

: http://www.thinkplexx.com/blog/commit-failed-details-follow-server-sent-unexpected-return-value-403-forbidden-in-response-to-mkactivity-possible-reasons-what-to-do

당신도 볼 수 도움이되지 않는 경우 : http://www.kodkast.com/blogs/svn/server-sent-unexpected-return-value-403-forbidden-in-response-to-mkactivity-request

http://www.wandisco.com/svnforum/threads/37608-Server-sent-unexpected-return-value-%28403-Forbidden%29

svn: MKACTIVITY 403 Forbidden

2

이 오류가 있음을 의미하여 자격 증명에 커밋하려고하는 경로에 대한 쓰기 권한이 없습니다. Subversion의 경로 기반 인증 규칙은 대소 문자를 구분하지만 Subversion이 실행되는 모든 OS가 아닙니다.

모든 사용자가 읽기 권한을 사용할 수있는 서버에서는 Windows 서버에서 경로 맞춤법과 일치하는 URL에서 체크 아웃하는 것이 일반적입니다 (경로를 찾을 수는 있지만). (따라서 권한 파일에 경로가 없습니다). 따라서 체크 아웃 할 수는 있지만 커밋 할 수는 없습니다.

예 :

당신은 http://svn.mycompany.com/svn/Code/project1/TRUNK에서 체크 아웃 한하지만 URL은 실제로 http://svn.mycompany.com/svn/Code/Project1/trunk입니다. 권한 부여 규 "은 [Code:/Project1/trunk]을 지정 하 G로 결과와 일! 할 수 없으며 사용자의 확약이 거부됩니다.

체크 아웃 한 URL (작업 사본의 등록 정보 대화 상자에 표시되거나 svn info을 통해 표시)이 서버가 예상 한 것과 일치하는지 확인하려면 서버 관리자에게 문의해야합니다.

+0

URL에서 잘못된 대/소문자를 사용하여 지금까지 본 최고의 답변입니다. –

관련 문제