2012年10月2日 星期二

SVN Show Log not working

Yo. I can't figure how to use show log feature without setting [/] * = r ( reads to everyone/everyting). So i have a couples of groups in my authz file. Looks like this:
[groups]
Profs = dave,bruno,franck
Team1 = 1036091,1036103,1036087
Team2 = 1016059,1016077
[/GSS]
@Team1 = rw
[/Booking]
@Team2 = rw
[/]
@Profs = rw
if i add
[/]
* = r
in the file, the show log feature works. But obviously everyone can download the other teams stuff...
I searched and found this guy had the exact same problem, never been answered
Thanks, Dave


I experienced exactly the same problem. Googling did not provide with a solution, but after some experiments I found 2 solutions for this: One Work-Around and one great solution.
  1. Work-Around: Add [/] * = r to the authz file (and may be * = r to you application folder in the authz file also). Try a showlog with Tortoise and may be some compare methods in Tortoise. Remove the above lines from authz file and try agin. Tortoise somehow caches that and it seems to work
  2. Great solution: Add these lines to the svnserve.conf file:
anon-access = none auth-access = write

沒有留言:

張貼留言