Opened 17 years ago
Closed 17 years ago
#6537 closed defect (duplicate)
Unable to attach files
Reported by: | anonymous | Owned by: | Jonas Borgström |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | ticket system | Version: | |
Severity: | blocker | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi,
I am unable to attach file when creating a new ticket.I have the permission to create,modify,append the tickets.
Below is the Traceback.
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 406, in dispatch_request
dispatcher.dispatch(req)
File "/usr/lib/python2.3/site-packages/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 361, in process_request
self._do_save(req, attachment)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 496, in _do_save
attachment.insert(filename, upload.file, size)
File "/usr/lib/python2.3/site-packages/trac/attachment.py", line 180, in insert
os.makedirs(self.path)
File "/usr/lib/python2.3/os.py", line 153, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.3/os.py", line 154, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/var/www/trac/tracroot/WSIProject/attachments/ticket'
Attachments (0)
Change History (3)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Keywords: | needinfo added |
---|
comment:3 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
No response in a month, and this is a duplicate of #6351 anyways.
This sounds like a typical case of the webserver's UID not having the right permissions to write to
/var/www/trac/tracroot/WSIProject/attachments/ticket
.Can you check to see if you have the right permissions set up?