Edgewall Software

Opened 13 years ago

Closed 13 years ago

#9062 closed defect (cantfix)

IOError: (13, 'Permission denied')

Reported by: alex.milstead@… Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.6
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:


How to Reproduce

While doing a POST operation on /admin/theme/custom, Trac issued an internal error.

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'12e1e1b83112bb392ae2661b',
 'cat_id': u'theme',
 'color_background': u'#ffffff',
 'color_link': u'#bb0000',
 'color_link_hover': u'#555555',
 'color_mainnav': u'#ffffff',
 'color_mainnav_active': u'#000000',
 'color_mainnav_hover': u'#cccccc',
 'color_text': u'#000000',
 'panel_id': u'custom',
 'path_info': None,
 'scheme': u'\xa0'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv: Gecko/20091221 Firefox/3.5.7

System Information

Trac 0.11.6
Python 2.6.4 (r264:75706, Dec 7 2009, 19:02:09)
[GCC 4.4.1]
setuptools 0.6c9
SQLite 3.6.16
pysqlite 2.5.5
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.6.5 (r38866)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", line 450, in _dispatch_request
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/web/main.py", line 206, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.6/dist-packages/Trac-0.11.6-py2.6.egg/trac/admin/web_ui.py", line 114, in process_request
  File "build/bdist.linux-i686/egg/themeengine/admin.py", line 163, in render_admin_panel
    f = open(os.path.join(self.env.path, 'htdocs', 'theme.css'), 'w')
IOError: [Errno 13] Permission denied: '/home/Trac/Envs/choices/htdocs/theme.css'

I have no idea why this is happening, or how to fix it. The directories being referenced have either been owned or are grouped as 'www-data'. Any help?

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 13 years ago

PluginIssue (themeengine).

comment:2 by Remy Blank, 13 years ago

Resolution: cantfix
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.