[network] getAddrInfo: invalid haddock (+ patch)

Valery V. Vorotyntsev valery.vv at gmail.com
Sun Dec 13 16:10:10 EST 2009


Johan Tibell <johan.tibell at gmail.com> wrote:
> Sorry for the long delay. The trac instance should be fixed now. It
> would be great if you could try to add a new ticket.

Done.  http://trac.haskell.org/network/ticket/22

I could not attach the patch though:
  OSError: [Errno 13] Permission denied: '/srv/trac/network/attachments/ticket'

Do you think it would be secure enough if we enable attaching files to tickets
(for registered Trac accounts)?

-----BEGIN BACKTRACE-----
Traceback (most recent call last):
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 387,
in dispatch_request
    dispatcher.dispatch(req)
  File "/var/lib/python-support/python2.4/trac/web/main.py", line 237,
in dispatch
    resp = chosen_handler.process_request(req)
  File "/var/lib/python-support/python2.4/trac/attachment.py", line
361, in process_request
    self._do_save(req, attachment)
  File "/var/lib/python-support/python2.4/trac/attachment.py", line
494, in _do_save
    attachment.insert(filename, upload.file, size)
  File "/var/lib/python-support/python2.4/trac/attachment.py", line
180, in insert
    os.makedirs(self.path)
  File "os.py", line 156, in makedirs
    makedirs(head, mode)
  File "os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/srv/trac/network/attachments/ticket'
-----END BACKTRACE-----

Cheers.

-- 
vvv


More information about the Libraries mailing list