Modify ↓
Opened 18 years ago
Closed 18 years ago
#5712 closed defect (worksforme)
Adding Attachments
| 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 )
Unable to add an attachment. Error message pasted below. Help please.
Traceback (most recent call last):
File "/var/lib/python-support/python2.4/trac/web/main.py", line 406, 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 496, 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: '/var/trac/crude/attachments/ticket'
Attachments (0)
Change History (1)
comment:1 by , 18 years ago
| Description: | modified (diff) |
|---|---|
| Resolution: | → worksforme |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



This is an installation issue, namely that the web server user doesn't have write access to the attachments folder. Just correct these permissions. In the future please ask installation support questions on the MailingList or IrcChannel.