Opened 18 years ago

Closed 18 years ago

#10643 closed defect (fixed)

BUG: can't attach files to tickets

Reported by: darren.bane@… Owned by: kvv@…
Priority: Low Milestone:
Component: server/hosting Version:
Keywords: Cc:
Port:

Description

the error log can be found here: INLINE

Description: When I try to attach a file to a ticket, I get a Web page with the following error:

==========INLINE CONTENT==========

!snip!

[Errno 13] Permission denied: '/trac/env/macports/attachments/ticket/10642'

!snip!

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 209, in handler
    dispatch_request(mpr.path_info, mpr, env)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
    dispatcher.dispatch(req)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/trac/attachment.py", line 267, in process_request
    self._do_save(req, attachment)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/trac/attachment.py", line 335, in _do_save
    attachment.insert(filename, upload.file, size)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/trac/attachment.py", line 142, in insert
    os.makedirs(self.path)
  File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/os.py", line 159, in makedirs
    mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/trac/env/macports/attachments/ticket/10642'

!snip!

Change History (1)

comment:1 Changed 18 years ago by yeled@…

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.