Modify ↓
#6351 closed defect (invalid)
attach fille failed
Reported by: | anonymous | 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.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 154, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/home/trac/nowpublic/attachments/ticket/356'
Attachments (0)
Change History (1)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Sometimes reading the error message gives some hints ;-)
"Permission denied" means that either the directory
/home/trac/nowpublic/attachments/ticket/356
or/home/trac/nowpublic/attachments/ticket
is not writable for the process that runs your web server (Apache for instance). You need to fix up the permissions for this directory.