[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers] Re: <http://subversions.gnu.org/cgi-bin/viewcvs/#dir
From: |
Mathieu Roy |
Subject: |
[Savannah-hackers] Re: <http://subversions.gnu.org/cgi-bin/viewcvs/#dirlist> is broken |
Date: |
10 Apr 2003 19:46:58 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Paul Eggert <address@hidden> said:
> I visited http://subversions.gnu.org/ and clicked on its first link
> <http://subversions.gnu.org/cgi-bin/viewcvs/#dirlist>. The response was:
>
> Python Exception Occurred
>
> Traceback (most recent call last):
> File "/usr/lib/python2.1/viewcvs/viewcvs.py", line 2645, in run_cgi
> main()
> File "/usr/lib/python2.1/viewcvs/viewcvs.py", line 2598, in main
> view_directory(request)
> File "/usr/lib/python2.1/viewcvs/viewcvs.py", line 1120, in view_directory
> lastmod = get_last_modified(file_data)
> File "/usr/lib/python2.1/viewcvs/viewcvs.py", line 759, in get_last_modified
> subfiles = os.listdir(pathname)
> OSError: [Errno 13] Permission denied: '/cvsroot//blueye'
Yes, the problem is that some project are in private mode, and so
their CVS dir is not readable to everyone - and viewcvs instead of
ignoring them try to open them and finally die.
I would be happy if someone who is very familiar to python provide a
patch for viewcvs to make it ignore permission denied/directory
forbidden.
--
Mathieu Roy
<< Profile << http://savannah.gnu.org/users/yeupou <<
>> Homepage >> http://yeupou.coleumes.org >>
<< GPG Key << http://stock.coleumes.org/gpg <<