Ticket #20934 (closed defect: fixed)
IOError: [Errno 13] Permission denied: '/trac/env/macports/conf/trac.ini'
| Reported by: | jmr@… | Owned by: | wsiegrist@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | server/hosting | Version: | |
| Keywords: | Cc: | ||
| Port: |
Description
How to Reproduce
While doing a POST operation on /admin/ticket/versions, Trac issued an internal error.
This was in response to me trying to make 1.8.0 the default for the version field.
Request parameters:
{'__FORM_TOKEN': u'3434842af73bc981378e1ea5',
'apply': u'Apply changes',
'cat_id': u'ticket',
'default': u'1.8.0',
'panel_id': u'versions',
'path_info': None}
User Agent was: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_0; en-US) AppleWebKit/531.9+(KHTML, like Gecko, Safari/528.16) OmniWeb/v622.9.0
System Information
| Trac | 0.11.4 |
| Python | 2.5.4 (r254:67916, Apr 1 2009, 14:14:53) [GCC 4.0.1 (Apple Inc. build 5465)] |
| setuptools | 0.6c9 |
| psycopg2 | 2.0.5.1 |
| Genshi | 0.5 |
| mod_python | 3.3.1 |
| Pygments | 1.0 |
| Subversion | 1.6.4 (r38063) |
| jQuery: | 1.2.6 |
Python Traceback
Traceback (most recent call last):
File "/opt/local/lib/python2.5/site-packages/trac/web/main.py", line 435, in _dispatch_request
dispatcher.dispatch(req)
File "/opt/local/lib/python2.5/site-packages/trac/web/main.py", line 205, in dispatch
resp = chosen_handler.process_request(req)
File "/opt/local/lib/python2.5/site-packages/trac/admin/web_ui.py", line 113, in process_request
path_info)
File "/opt/local/lib/python2.5/site-packages/trac/ticket/admin.py", line 43, in render_admin_panel
return self._render_admin_panel(req, cat, page, version)
File "/opt/local/lib/python2.5/site-packages/trac/ticket/admin.py", line 296, in _render_admin_panel
self.config.save()
File "/opt/local/lib/python2.5/site-packages/trac/config.py", line 189, in save
fileobj = open(self.filename, 'w')
IOError: [Errno 13] Permission denied: '/trac/env/macports/conf/trac.ini'
Change History
Note: See
TracTickets for help on using
tickets.

