Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#537 closed task (fixed)

no permission in TracAccount Manager

Reported by: anonymous Owned by: mgood
Priority: normal Component: AccountManagerPlugin
Severity: normal Keywords:
Cc: felipe.diazfrutos@… 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/", line 130, in run
    dispatch_request(req.path_info, req, env)
  File "/usr/lib/python2.4/site-packages/trac/web/", line 139, in dispatch_request
  File "/usr/lib/python2.4/site-packages/trac/web/", line 107, in dispatch
    resp = chosen_handler.process_request(req)
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/", line 51, in process_request
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/", line 67, in _do_change_password
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/", line 88, in set_password
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/", line 50, in set_password
  File "/usr/lib/python2.4/site-packages/TracAccountManager-0.1.2.egg/acct_mgr/", line 77, in _update_file
  File "/usr/lib/python2.4/", line 231, in next
    line = self.readline()
  File "/usr/lib/python2.4/", line 300, in readline
    os.rename(self._filename, self._backupfilename)
OSError: [Errno 13] Permission denied

Attachments (0)

Change History (4)

comment:1 Changed 9 years ago by coderanger

  • Description modified (diff)

Fixing traceback.

comment:2 Changed 9 years ago 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.

comment:3 follow-up: Changed 9 years ago by mgood

  • Resolution set to fixed
  • Status changed from assigned to closed

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

comment:4 in reply to: ↑ 3 Changed 9 years ago 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)


Add Comment

Modify Ticket

as closed The owner will remain mgood.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.