[viewvc-users] root_parents get errno 13, svn_roots don't display

Gary Beckmann <[email protected]> Fri, 28 Jun 2013 13:39:45 -0700 (PDT)
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Message-ID <1529039193.4508.1372451985006.JavaMail.httpd@localhost>
viewvc 1.1.11 on Fedora 12 was functioning. That machine died and so I moved viewvc to a CentOS 6.4 system. The config file used svn_roots and cvs_roots, on the new system nothing displays. I tried using root_parents, and when I visit the site I get

An Exception Has Occurred
Python Traceback

Traceback (most recent call last):
  File "/var/www/html/viewvc-1.1.20/lib/viewvc.py", line 4827, in main
    request.run_viewvc()
  File "/var/www/html/viewvc-1.1.20/lib/viewvc.py", line 402, in run_viewvc
    self.view_func(self)
  File "/var/www/html/viewvc-1.1.20/lib/viewvc.py", line 2176, in view_roots
    expand_root_parents(request.cfg)
  File "/var/www/html/viewvc-1.1.20/lib/viewvc.py", line 4700, in expand_root_parents
    roots = vclib.svn.expand_root_parent(pp)
  File "/var/www/html/viewvc-1.1.20/lib/vclib/svn/__init__.py", line 72, in expand_root_parent
    subpaths = os.listdir(parent_path)
OSError: [Errno 13] Permission denied: '/var/www/html/svn'


Note that /var/www/html/svn is a symbolic link to where the repository actually is: /yoke/repository/projects/subversion.

When I use "standalone.py" then everything functions as expected. The repository directories are have 777 permissions.

Other postings and the on-line FAQ say that I should "make sure permissions are correct" without any indication of which permissions are meant.

Any help?

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

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