Ticket #3722 (new defect)
Cannot attach a file to a ticket, it seems because of file system permissions
| Reported by: | leo.devida@… | Owned by: | rblank |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11.3 |
| Component: | general | Version: | 0.10b1 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I created a ticket using Trac, and then tried to attach a file to it. It failed, probably because of file system permissions, but I think the problem wasn't properly reported, and it just threw an error.
Since I cannot attach the file to the ticket, or find out what's wrong, I decided to create a ticket here. The About Trac link says its version 0.10dev
Thanks
Traceback (most recent call last):
File "/usr/local/python2.4/lib/python2.4/site-packages/trac/web/main.py", line 316, in dispatch_request
dispatcher.dispatch(req)
File "/usr/local/python2.4/lib/python2.4/site-packages/trac/web/main.py", line 201, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/local/python2.4/lib/python2.4/site-packages/trac/attachment.py", line 343, in process_request
self._do_save(req, attachment)
File "/usr/local/python2.4/lib/python2.4/site-packages/trac/attachment.py", line 475, in _do_save
attachment.insert(filename, upload.file, size)
File "/usr/local/python2.4/lib/python2.4/site-packages/trac/attachment.py", line 180, in insert
os.makedirs(self.path)
File "/usr/local/python2.4/lib/python2.4/os.py", line 156, in makedirs
makedirs(head, mode)
File "/usr/local/python2.4/lib/python2.4/os.py", line 159, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/brs/isode-trac/attachments/ticket'
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


