이클립스와 Subversion에 관한 질문 드리겠습니다.
현재 서버는 trac와 subversion 을 연동해서 사용중 이며, 설정은 완벽한 상태 입니다.
이클립스에서 svn://xxx.xxx.xxx.xxx/lmg 라는 도메인으로 svn을 접근할때, 접속은 되지만, id, pass를 치고들어가면 An error occurred while accessing the repository entry 메시지가 뜨면서 접근 권한이 없다고 나옵니다.
하지만, svnserve.conf 파일과 authz, passwd 파일은 이상이 없습니다.
대략적인 설정은..
snvserve.conf
8 [general]
9 ### These options control access to the repository for unauthenticated
10 ### and authenticated users. Valid values are "write", "read",
11 ### and "none". The sample settings below are the defaults.
12 anon-access = none
13 auth-access = write
14 ### The password-db option controls the location of the password
15 ### database file. Unless you specify a path starting with a /,
16 ### the file's location is relative to the conf directory.
17 ### Uncomment the line below to use the default password file.
18 password-db = passwd
19 ### The authz-db option controls the location of the authorization
20 ### rules for path-based access control. Unless you specify a path
21 ### starting with a /, the file's location is relative to the conf
22 ### directory. If you don't specify an authz-db, no path-based access
23 ### control is done.
24 ### Uncomment the line below to use the default authorization file.
25 authz-db = authz
26 ### This option specifies the authentication realm of the repository.
27 ### If two repositories have the same authentication realm, they should
28 ### have the same password database, and vice versa. The default realm
29 ### is repository's uuid.
30 #realm = My First Repository
이며
authz 파일은
7
8 [general]
9 ### These options control access to the repository for unauthenticated
10 ### and authenticated users. Valid values are "write", "read",
11 ### and "none". The sample settings below are the defaults.
1 ### This file controls the configuration of the svnserve daemon, if you
2 ### use it to allow access to this repository. (If you only allow
3 ### access through http: and/or file: URLs, then this file is
15 read_group = bskymin
16
17 # [/foo/bar]
18 # harry = rw
19 # * =
20
21 # [repository:/baz/fuz]
22 # @harry_and_sally = rw
23 # * = r
24
25 [/Repository/svn/lmg]
26 * = rw
27 @admin_group = rw
28 @read_group = r
29
30
31 [repository:/svn/lmg]
32 * = rw
33 @admin_group = rw
34 @read_group = r
35
36 [/]
37 #* = rw
38 @admin_group = rw
39 @read_group = r
40
41 [leemg:/]
42 #* = rw
43 @admin_group = rw
44 @read_group = r
로권한은 설정되어있습니다.
또한 passwd 파일에는 당연히 pass가 설정되어있습니다
[users]
leegm = xxx
이런식으로...
권한 설정은 잘되어있지만, 이클립스에서 http://xxx.xxx.xxx.xxx/svn/lmg 로의 접속은되지만, svn://xxx.xxx.xxx.xxx/lmg로의 접속은 되지않습니다. svn 데몬을 svnserve -r -d /Repository/svn 로 띠웠기에 데몬이나, 경로 설정은 이상없습니다.
설정을 다했지만, 안되는 이유좀 알고싶습니다.
혹시 저와같은 경험 있으신분, 또는 제설정에 문제가 있다고 생각하시는분은 답변좀 주셨으면 합니다.
감사합니다.
내용추가
authz설정 파일에
admin_group = leemg
read_group = bskymin
이렇게 설정되어있습니다.
안녕하세요..
안녕하세요 centos님 저도 이거때문에 지금 미쵸붜릴꺼 같은데요.. 혹시 해결방법을 찾으셨다면
조언좀 구할수 있을까요..
아무런 도움을 못드려 죄송합니다..
비슷한 문제가 발생하여 해결한 방법
Abast 시큐리티 실시간 감시를 종료한 뒤 하니 되네요.
ㅡ.ㅡ 전 이렇게 해결했습니다.
댓글 달기