Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#8226 closed defect (duplicate)

IOError: (13, 'Permission denied')

Reported by: tmisilo@… Owned by:
Priority: high Milestone:
Component: admin/web Version: 0.11.4
Severity: major Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

When trying to submit changes after logging in through LDAP auth.

Request parameters:

{'__FORM_TOKEN': u'b01923cbd3bb5413b6262b33',
 'cat_id': None,
 'descr': u'The project was written as a Mozilla Thunderbird extension and is coupled with a PHP-coded web interface. The Thunderbird extension was written in XML and JavaScript and is integrated into the program window as an extra icon on a moveable column. The extension has an options window which will allow the customer to choose which address book contains the clients they want to track in the news. This options window will also let the user choose other settings for the extension such as which news source to choose. Any client in this address book will be automatically tracked by name when their e-mails are received. If the customer wants to look at the list of articles pertaining to their client, all they need to do is click the In The News indicator icon.',
 'name': u'In The News',
 'panel_id': None,
 'path_info': None,
 'url': u'inthenews.ath.cx'}

User Agent was: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.9) Gecko/2009040821 Firefox/3.0.9 (.NET CLR 3.5.30729)

System Information

Trac 0.11.4
Python 2.6 (r26:66714, Dec 3 2008, 06:05:48)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]]
setuptools 0.6c8
MySQL server: "5.0.67", client: "5.0.67", thread-safe: 0
MySQLdb 1.2.2
Genshi 0.5.1
mod_python 3.3.1
Subversion 1.5.2 (r32768)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.6/site-packages/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.6/site-packages/trac/admin/web_ui.py", line 113, in process_request
    path_info)
  File "/usr/lib/python2.6/site-packages/trac/admin/web_ui.py", line 192, in render_admin_panel
    self.config.save()
  File "/usr/lib/python2.6/site-packages/trac/config.py", line 189, in save
    fileobj = open(self.filename, 'w')
IOError: [Errno 13] Permission denied: '/srv/www/trac/InTheNews/conf/trac.ini'

Attachments (0)

Change History (1)

comment:1 by Remy Blank, 16 years ago

Resolution: duplicate
Status: newclosed

This is a duplicate of #5350. Make your trac.ini writable by the user running apache.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.