server error: "OSError: [Errno 13] Permission denied: '../entries'"

"Colin Brace" <[email protected]> Sun, 13 Jan 2008 17:22:24 +0100
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Hi all,

I've just installed v1.4.2 on my server running lighttpd v1.4.18 under
FreeBSD 7-BETA4. My configuration seems to be OK; I can run
pyblosxom.cgi in the cgi-bin directory without problem. However, when
I try to evoke it from within my browser, lighttpd returns:

"A server error occurred. Please contact the administrator."

If I look in lighttpd.error.log, I see the following

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/wsgiref/handlers.py", line 92, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/lib/python2.5/site-packages/Pyblosxom/pyblosxom.py",
line 485, in __call__
    p.run()
  File "/usr/local/lib/python2.5/site-packages/Pyblosxom/pyblosxom.py",
line 203, in run
    blosxom_handler(self._request)
  File "/usr/local/lib/python2.5/site-packages/Pyblosxom/pyblosxom.py",
line 1039, in blosxom_handler
    renderer.render()
  File "/usr/local/lib/python2.5/site-packages/Pyblosxom/renderers/blosxom.py",
line 313, in render
    self.flavour = self._getflavour(data.get("flavour", "html"))
  File "/usr/local/lib/python2.5/site-packages/Pyblosxom/renderers/blosxom.py",
line 168, in _getflavour
    new_files = get_flavour_from_dir(flavourdir, taste)
  File "/usr/local/lib/python2.5/site-packages/Pyblosxom/renderers/blosxom.py",
line 92, in get_flavour_from_dir
    template_files = os.listdir(path)
OSError: [Errno 13] Permission denied: '/usr/home/colin/blog/entries'

My data dir is valid and permissions are OK (+xwr). What could be going wrong?

Thanks.

-- 
  Colin Brace
  Amsterdam

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace