Re: [viewvc-users] OSError: [Errno 13] Permission denied

"C. Michael Pilato" <[email protected]> Tue, 30 Apr 2013 16:30:30 -0400
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <518029E6.1080204__23558.8059913882$1367353847$gmane$org@collab.net>
On 04/29/2013 05:11 PM, Matt Schemmer wrote:
> I couldn't find anything else on Google that was this specific, so I was
> looking to revive this. I'm having the exact same error when going to
> http://myserver/viewvc on a RANCID setup. I tried to follow the guide
> linked by Shrubbery for Redhat/Centos. I'm using Centos 6.3.
> 
> I'm far from a Linux admin, so it might be something simple. In the
> viewvc.conf, I get this error when trying to set root_parents to
> /home/rancid/var/CVS: cvs. If I comment out this line, and go to the
> ViewVC URL, it loads, but the repository list is of course blank. I'm not
> sure where the "default" repository directory is (if there is one.

I've not used RANCID myself, but I get the impression (via searching 'round
the 'Net) that the .../rancid/var/CVS directory is not the parent of a bunch
of CVS repositories, but is itself a CVS repository.  If that's true, then
"root_parents" is the wrong option to use.  You should use "cvs_roots" instead.

   cvs_roots = Rancid: /apps/rancid/var/CVS
   default_root = Rancid

I've also seen RANCID problems in the past come up on this list which were
only solved by also setting:

   use_rcsparse = 1

It would be helpful to have more information to work with than merely the
fact that you got this error. For example, the full stack trace of the error
would be super handy if you can get it.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=3054666

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJRgCnnAAoJEPXg8AH+aBMzMIIP/j5mbelWKDxYft5DDIZrg7MR
ZvhBFVyCHTPRBuCUGnisxC6IAC436m+2bKr1CzlScNAQeeu1NfWmSv1k7E+lbw+5
4/MG6z+JHJtmLOzC3vg9HePVANX27y7NEoo5A8qBlKlM4iRdrxzn+Z4BEXjsi8ri
4kZvA+FZfdqkbbfODg4NOCDWvQC2K03ASawW1DJdEoLjey8Z1F5F+BmXTDKsK9Sg
Pnr8MgjkJggxaJjIqSab6Aod2KCEXps3RefvUwj3vzFvnuMpQCkGTzAVXvC9H4E+
apyXEloVQUah+Qovf3tkYWUpYc/O/LzFr2MhJx5ucNsVMj7edCDshntYn+CZ5UPM
9SE6DR9joAWCMCwEcXjfQIWWg+dd/TpVkg7nkOrEgFjL0qn2YCpMr2LeX572Sxve
ID6LnVkCcUDZfbzoizezfq0ivt6jaCpH8E8jRM9yqaqNCemi7g5x1lKYtPQYLxSp
5IlA0eKl2/13D5M5uEUbKDqJd7hI8xVCHePqIPsnHs7bKqiYFk0DWZr6uTMrOTV4
4kXsXNUbJhyAtKgF7WoBYhS8RlcYUQgOqhKZ7Xi8XCI6kq4Iwt5u9E/4L/uSIkRn
88LVpO5xwAPTJ6U/XCRP9Y8n5dv1AylAZPlcMI8C03EXZulFLmoHi4Z2Px5BqkUy
scjdvVXleMOUxFHQNUeY
=O1xw
-----END PGP SIGNATURE-----