Opened 17 years ago
Closed 17 years ago
#1249 closed defect (duplicate)
OSError: [Errno 13] Permission denied: '/svnroot/trac/ipp/attachments/ticket/1246'
| Reported by: | Michael Wood-Vasey | Owned by: | Paul Price |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | build | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
How to Reproduce
While doing a POST operation on /attachment/ticket/1246/, Trac issued an internal error.
(please provide additional details here)
Request parameters:
{'__FORM_TOKEN': u'a5c9aea3ce784949b2883717',
'action': u'new',
'attachment': FieldStorage('attachment', 'stamps.xy', '1142.493652 850.838623\n4071.582520 945.288025\n3920.500977 443.246429\n3988.441406 936.689392\n1405.281616 938.831421\n270.799316 347.087769\n2643.310059 469.945343\n'),
'description': u'Manually-selected objects',
'id': u'1246',
'path': u'1246/',
'realm': u'ticket'}
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.10) Gecko/2009042315 Firefox/3.0.10
System Information
| Trac | 0.11.2
|
| Python | 2.4.4 (#1, Jun 26 2008, 15:49:11) [GCC 4.1.2 (Gentoo 4.1.2 p1.1)]
|
| setuptools | 0.6c9
|
| SQLite | 3.4.1
|
| pysqlite | 2.3.5
|
| Genshi | 0.5.1
|
| mod_python | 3.3.1
|
| Pygments | 0.10
|
| Subversion | 1.5.4 (r33841)
|
| jQuery: | 1.2.6
|
Python Traceback
Traceback (most recent call last):
File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 432, in _dispatch_request
dispatcher.dispatch(req)
File "/usr/lib64/python2.4/site-packages/trac/web/main.py", line 204, in dispatch
resp = chosen_handler.process_request(req)
File "/usr/lib64/python2.4/site-packages/trac/attachment.py", line 394, in process_request
self._do_save(req, attachment)
File "/usr/lib64/python2.4/site-packages/trac/attachment.py", line 605, in _do_save
attachment.insert(filename, upload.file, size)
File "/usr/lib64/python2.4/site-packages/trac/attachment.py", line 218, in insert
os.makedirs(self.path)
File "/usr/lib/python2.4/os.py", line 159, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/svnroot/trac/ipp/attachments/ticket/1246'
Note:
See TracTickets
for help on using tickets.

Duplicate of ticket 1225.