svn authz 사용 시 나오는 문제..

puser716의 이미지

svn에서 그룹으로 묶어서 사용하기 위해 authz 를 한 번 이용해 볼려고 하는데 이 같은 문제가 있어 어디서 잘 못 했는 지 알고 싶어 적습니다.

svnserve.conf 파일 내용 중 주석처리 된 authz-db = authz 를 해제하고 authz 파일을 열어서 다음과 같이 설정 했습니다.

[groups]
# harry_and_sally = harry,sally
tracgrp_1 = user7,user8,user9
tracgrp_2 = test,test_2,test_3

# [/foo/bar]
# harry = rw
# * =
여기가 도대체 뭐하는 부분인가요? 뭐 어쨌든...여기는 패스

[repository:/]
@tracgrp_1 = rw
@tracgrp_2 = r
* = r

로 되 있습니다.

그리고 나서 httpd.conf 파일의 내용을 다음과 같이 수정했습니다.

DAV svn SVNPath /home/svn/newrepo AuthzSVNAccessFile /home/svn/newrepo/conf/authz # Satisfy Any AuthType Basic AuthName "IglooSecurity Repository" AuthUserFile /etc/httpd/conf/passwd # Require valid-user #

이렇게 하고 나서 tortois를 이용해서 탐색기에서 업데이트를 하면 계정이랑 암호 넣게 되야 하는데 넣으면 에러가 뜹니다.

"No authorized to open root edit operation"

물론 원위치 하게 되면 잘 됩니다. 하지만 그룹관리를 하고자 하기 때문에 반듯이 되야 해서...

어디가 잘 못 됐는지 확인 좀 부탁드립니다...그럼..

suapapa의 이미지

# [/foo/bar]
# harry = rw
# * =
여기가 도대체 뭐하는 부분인가요? 뭐 어쨌든...여기는 패스

이 부분은 주석(예제) 입니다. (이걸 물어보셨는지?)

AuthzSVNAccessFile /home/svn/newrepo/conf/authz

이 줄을 AuthUserFile 밑으로 옮겨 보시면 어떠신가요?
kslee80의 이미지

[repository:/] 대신에 [/] 로 적어넣어보세요.

P.S.) svn repository 접근을 apache 로 관리하시나요?
(repository 주소가 http:// 혹은 https:// 로 시작한다면 apache 로 관리되는 겁니다)
apache 로 관리되는것이 아니라면
httpd.conf 수정 과정은 필요없고, authz 수정만 하면 됩니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.