Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#8337 closed defect (invalid)

IOError: [Errno 13] Permission denied: '/services/trac/repos/conf/trac.ini'

Reported by: trac-admin Owned by:
Priority: normal Milestone:
Component: general Version: 0.11.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'0a2d0e4ea178528d1b354eee',
 'cat_id': u'general',
 'component': [u'tracspamfilter.adapters.AttachmentFilterAdapter',
               u'tracspamfilter.adapters.TicketFilterAdapter',
               u'tracspamfilter.adapters.WikiFilterAdapter',
               u'tracspamfilter.admin.AkismetAdminPageProvider',
               u'tracspamfilter.admin.BayesAdminPageProvider',
               u'tracspamfilter.admin.SpamFilterAdminPageProvider',
               u'tracspamfilter.api.FilterSystem',
               u'tracspamfilter.filters.akismet.AkismetFilterStrategy',
               u'tracspamfilter.filters.extlinks.ExternalLinksFilterStrategy',
               u'tracspamfilter.filters.ip_throttle.IPThrottleFilterStrategy',
               u'tracspamfilter.filters.regex.RegexFilterStrategy',
               u'tracspamfilter.filters.session.SessionFilterStrategy'],
 'enable': [u'tracspamfilter.filters.extlinks.ExternalLinksFilterStrategy',
            u'tracspamfilter.filters.ip_throttle.IPThrottleFilterStrategy'],
 'panel_id': u'plugin',
 'path_info': None,
 'plugin': u'4',
 'update': u'Apply changes'}

User Agent was: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10) Gecko/2009042523 Ubuntu/8.10 (intrepid) Firefox/3.0.10

System Information

Trac 0.11.3
Python 2.4.3 (#1, Mar 14 2007, 18:51:08)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)]
setuptools 0.6c9
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.5.1
Subversion 1.4.2 (r22196)
jQuery: 1.2.6

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/web/main.py", line 435, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/web/main.py", line 205, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/admin/web_ui.py", line 113, in process_request
    path_info)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/admin/web_ui.py", line 394, in render_admin_panel
    self._do_update(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/admin/web_ui.py", line 478, in _do_update
    self.config.save()
  File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/config.py", line 189, in save
    fileobj = open(self.filename, 'w')
IOError: [Errno 13] Permission denied: '/services/trac/repos/conf/trac.ini'

Attachments (0)

Change History (2)

comment:1 by mudassir@…, 16 years ago

i want to install trac spam filter plugin , but i got above error , i use trac 11.3

thanks for any help

Mudassir Aftab

comment:2 by osimons, 16 years ago

Resolution: invalid
Status: newclosed

Installation issue. As the error says, your web server user does not have write permission to the trac.ini file and cannot enable/disable components as that needs to be recorded in that file.

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.