Steinar Bang wrote on Sun, May 22, 2011 at 00:41:14 +0200:
> >>>>> Steinar Bang <sb_at_dod.no>:
>
> >>>>> Steinar Bang <sb_at_dod.no>:
> >> I tried adding this to /svn/conf/authz:
>
> >> [/trunk/someprog]
> >> * =
>
> >> (everything else in the file are comments)
> [snip!]
> > So I uncommented this line in the sample svnserve.conf:
> > # authz-db = authz
>
> > And then svnsync pulled the entire repo. Or at least: it didn't stop at
> > revision 683.
>
> > But the resulting repo doesn't seem to be functional:
> > sb_at_edwards:~$ svn ls file:///tmp/newrepo/svn/
> > sb_at_edwards:~$ svn ls file:///tmp/newrepo/svn/trunk
> > svn: URL 'file:///tmp/newrepo/svn/trunk' non-existent in that revision
>
> More fine print I didn't read, in:
> http://svnbook.red-bean.com/nightly/en/svn.serverconfig.pathbasedauthz.html
>
> "By default, nobody has any access to the repository at all. That
> means that if you're starting with an empty file, you'll probably
> want to give at least read permission to all users at the root of the
> repository."
>
> So now the /svn/conf/authz file contains:
> [/]
> * = r
>
> [/trunk/someprog]
> * =
>
> And then I'm able to see contents in the cloned repository:
> sb_at_edwards:~$ svn ls file:///tmp/newrepo/svn/
> branches/
> tags/
> trunk/
>
> Thanks, Daniel!
>
Welcome. :-)
Received on 2011-05-22 11:05:20 CEST