Modify ↓
Opened 17 years ago
Closed 17 years ago
#6027 closed defect (worksforme)
cant attach pic to ticket
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Python Traceback
Traceback (most recent call last): File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.5/site-packages/trac/attachment.py", line 361, in process_request self._do_save(req, attachment) File "/usr/lib/python2.5/site-packages/trac/attachment.py", line 496, in _do_save attachment.insert(filename, upload.file, size) File "/usr/lib/python2.5/site-packages/trac/attachment.py", line 180, in insert os.makedirs(self.path) File "/usr/lib/python2.5/os.py", line 163, in makedirs makedirs(head, mode) File "/usr/lib/python2.5/os.py", line 166, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/trac/agent/attachments/ticket'
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The attachment directory on your server should be read/writeable for the web server.
A common issue is to create the Trac environment as the super user whereas the web server runs as a regular user.
BTW, please specify which version of Trac you're using when you submit a new ticket.