Modify ↓
Opened 18 years ago
Closed 18 years ago
#4020 closed defect (worksforme)
probelm occured when tried to upload attachment to a new ticket form.
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 0.10 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description (last modified by )
Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 356, in dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 224, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 361, in process_request self._do_save(req, attachment) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 493, in _do_save attachment.insert(filename, upload.file, size) File "/usr/lib/python2.4/site-packages/trac/attachment.py", line 180, in insert os.makedirs(self.path) File "/usr/lib/python2.4/os.py", line 156, in makedirs makedirs(head, mode) File "/usr/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/trac/EficusAgent/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.
The Trac process is unable to create a new folder due to lack of filesystem permissions. You should make sure your projects are all owned by the same user the web server runs as (often "www-data" or "apache" or "nobody" depending on the server and your distribution)
E.g:
Also, check if SElinux is enabled. If so you'll need to ensure that it is configure to allow the web server process to write to the Trac projects.
If you need more help, please use the MailingList for support.