Edgewall Software
Modify

Opened 17 years ago

Closed 16 years ago

#6040 closed defect (worksforme)

IOError: [Errno 1] Operation not permitted: '/home/subversion/trac/conf/trac.ini'

Reported by: frkiedav Owned by: Christopher Lenz
Priority: normal Milestone:
Component: admin/web Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

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

(please provide additional details here)

Request parameters:

{'__FORM_TOKEN': u'ff34186b425861d9bb05a8de',
 'cat_id': u'general',
 'descr': u'My example project',
 'name': u'Yop',
 'panel_id': u'basics',
 'path_info': None,
 'url': u''}

System Information

Trac 0.11dev
Python 2.5 (r25:51908, Nov 27 2006, 19:14:46)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)]
setuptools 0.6c6
SQLite 3.3.8
pysqlite 1.1.8
Genshi 0.4.4

Python Traceback

Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev-py2.5.egg/trac/web/main.py", line 381, in dispatch_request
    dispatcher.dispatch(req)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev-py2.5.egg/trac/web/main.py", line 191, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev-py2.5.egg/trac/admin/web_ui.py", line 108, in process_request
    path_info)
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev-py2.5.egg/trac/admin/web_ui.py", line 187, in render_admin_panel
    self.config.save()
  File "/usr/local/lib/python2.5/site-packages/Trac-0.11dev-py2.5.egg/trac/config.py", line 159, in save
    fileobj = open(self.filename, 'w')
IOError: [Errno 1] Operation not permitted: '/home/subversion/trac/conf/trac.ini'

the trac.ini is in chmod 0777

Attachments (0)

Change History (6)

in reply to:  description comment:1 by Emmanuel Blot, 17 years ago

Component: generalwebadmin
Owner: changed from Jonas Borgström to Christopher Lenz

Replying to frkiedav:

the trac.ini is in chmod 0777

What about the directory permissions (/home/subversion/trac/conf): the web server should have write permissions as well.

comment:2 by anonymous, 17 years ago

i have a nfs partition

drwxrwxrwx 2 java users 256 Sep 17 14:40 conf/

-rwxrwxrwx 1 java users 0 Sep 17 14:40 trac.ini

comment:3 by anonymous, 17 years ago

when i put my trac env in an other place, that's work.

in reply to:  3 comment:4 by Emmanuel Blot, 17 years ago

Replying to anonymous:

when i put my trac env in an other place, that's work.

Is it still inside a NFS partition?
Trac may have an issue with NFS partition, I don't know if anyone has already validated the trac.ini update with a NFS partition.

comment:5 by anonymous, 17 years ago

I think that doesn't work.

Arf, i have do that to save my trac environement on an backup server.

So i do my backup with hand ;-)

comment:6 by osimons, 16 years ago

Resolution: worksforme
Status: newclosed

As far as I can understand from last comment, it was the use of the remote NFS as filesystem that caused it. 'Worksforme' it is then.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.