Ticket #537 (closed task: fixed)

Opened 7 years ago

Last modified 7 years ago

no permission in TracAccount Manager

Reported by: anonymous Assigned to: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: felipe.diazfrutos@gmail.com Trac Release: 0.9

Description (Last modified by coderanger)

I have configurated the module TracAccountManager? but when I try create a new account the followed error appear

[Errno 13] Permission denied

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py", line 130, 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 "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/web_ui.py", line 51, in process_request
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/web_ui.py", line 67, in _do_change_password
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/api.py", line 88, in set_password
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/htfile.py", line 50, in set_password
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.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

Attachments

Change History

07/25/06 15:03:22 changed by coderanger

  • description changed.

Fixing traceback.

07/26/06 19:22:29 changed by mgood

  • status changed from new to assigned.

The Trac process needs write permission to the directory containing your htpasswd or htdigest file in order to back it up while it's being updated. I'll add a better error message for this.

(follow-up: ↓ 4 ) 07/26/06 23:25:56 changed by mgood

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [1063]) add a friendly error message when the Trac user is missing permissions to update the password file (fixes #537)

(in reply to: ↑ 3 ) 07/27/06 16:36:48 changed by anonymous

Replying to mgood:

(In [1063]) add a friendly error message when the Trac user is missing permissions to update the password file (fixes #537)

THANKS !


Add/Change #537 (no permission in TracAccount Manager)




Change Properties
Action