Paulo Sebastião wrote:
Hi Killian,

Thanks for your answer. Start to shout victory too soon.
After all, AccountManagerPlugin isn't working, I get this when trying to register an user:

Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 131, in run
   dispatch_request(req.path_info, req, env)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 139, in dispatch_request
   dispatcher.dispatch(req)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 107, in dispatch
   resp = chosen_handler.process_request(req)
File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 117, in process_request File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 138, in _do_create File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 88, in set_password File "build/bdist.linux-i686/egg/acct_mgr/htfile.py", line 50, in set_password File "build/bdist.linux-i686/egg/acct_mgr/htfile.py", line 77, in _update_file
 File "/usr/lib/python2.4/fileinput.py", line 231, in next
   line = self.readline()
 File "/usr/lib/python2.4/fileinput.py", line 300, in readline
   os.rename(self._filename, self._backupfilename)
OSError: [Errno 13] Permission denied

You need to grant permission for the webserver to modify the password file, as well as create new files in the folder containing the password file (the "fileinput" module moves the file to a backup so that it can be modified while it's being read).
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to