RE: Re: [viewvc-users] viewvc-1.1.23 issue

annie <[email protected]> Mon, 8 Dec 2014 12:41:24 -0800 (PST)
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <1643662546.720.1418071284899.JavaMail.httpd__27316.7854328223$1418071296$gmane$org@localhost>
I already tried to change the directory to 777, but still getting permission error..

> On 12/07/2014 11:14 PM, annie wrote:
> > Hi Experts,
> >
> > I'm a newbie and just installed the latest version 1.1.23 and having an error similar to a previous problem (http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&viewType=browseAll&dsMessageId=3054081#messagefocus)
> >
> > viewvc.conf
> > -------------
> > root_parents = /home/rancid/var/CVS : cvs
> > cvs_roots = rancid: /home/rancid/var/CVS
> > default_root = rancid
> > svn_roots = router: /home/rancid/var/CVS
> >
> > Error when loding localhost/viewvc
> > -----------------------------------
> > An Exception Has Occurred
> > Python Traceback
> > Traceback (most recent call last):
> >   File "/usr/local/viewvc-1.1.23/lib/viewvc.py", line 4848, in main
> >     request.run_viewvc()
> >   File "/usr/local/viewvc-1.1.23/lib/viewvc.py", line 402, in run_viewvc
> >     self.view_func(self)
> >   File "/usr/local/viewvc-1.1.23/lib/viewvc.py", line 2201, in view_roots
> >     expand_root_parents(request.cfg)
> >   File "/usr/local/viewvc-1.1.23/lib/viewvc.py", line 4720, in expand_root_parents
> >     roots = vclib.ccvs.expand_root_parent(pp)
> >   File "/usr/local/viewvc-1.1.23/lib/vclib/ccvs/__init__.py", line 32, in expand_root_parent
> >     subpaths = os.listdir(parent_path)
> > OSError: [Errno 13] Permission denied: '/home/rancid/var/CVS'
> >
> > Tried with commenting the root_parents, successfully loading the page but no directory listing.
> 
> Doesn't this error message pretty much tell you what's wrong?  The
> ViewVC process is trying to read something in /home/rancid/var/CVS, and
> can't because the user as which it is running doesn't have the correct
> filesystem permissions to read that directory.

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

To unsubscribe from this discussion, e-mail: [[email protected]].