Re: [viewvc-users] problem using svnauth file with viewvc-1.1.8
"C. Michael Pilato" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Organization | CollabNet, Inc. |
| Message-ID | <[email protected]> |
On 02/24/2011 10:55 AM, ram shar wrote: > Hello, > I'm trying to use a svnauth.conf file with viewvc-1.1.8: > > [/] > adminsvn = rw > > [groups] > test1-Admin = admin,user1 > > [test1:/] > @test1-Admin=rw > > > When i try to navigate with admin user i can't , because i get this error: > "The root "test1" is unknown. "/var/lib/gforge/chroot/svnroot/testpre1" If you believe the value is correct, then please double-check your configuration > " > It just works when i put *=r. > > > my viewvc.conf: > root_parents = /var/lib/gforge/chroot/svnroot : svn > default_root = svn > root_as_url_component = 0 > allowed_views = annotate, diff, markup, roots,co > authorizer =svnauthz > authzfile = /var/www/subversion.conf > > I hope you could help me, > sorry for my poor English. Thank you and best regards If the repository is located at /var/lib/gforge/chroot/svnroot/testpre1, and you're using the root_parents configuration option to expose it via ViewVC, then ViewVC is going to use "testpre1" as the name of the root. But you don't have any access rules in your svnauth.conf file that refer to the root named "testpre1", only "test1". -- C. Michael Pilato <[email protected]> CollabNet <> www.collab.net <> Distributed Development On Demand ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2707288 To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc
(application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1mtggACgkQokEGqRcG/W4YYgCfbTGK6SCLwKPqTHeVaFZOwpIH qf0AnAt1wRqLwyCi1Fn3FSBG+MHiGFKz =jdZi -----END PGP SIGNATURE-----