Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#6212 closed defect (worksforme)

adding user using AccountManager error

Reported by: vivs Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Permissions are ok: temporarily got the digest file in /tmp/.htdigest which has full permissions set.

{{{Python Traceback

Traceback (most recent call last):

File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 406, in dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.5/site-packages/trac/web/main.py", line 237, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.5/site-packages/TracWebAdmin-0.1.2dev_r4240-py2.4.egg/webadmin/web_ui.py", line 109, in process_request

path_info)

File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 48, in process_admin_request

return self._do_users(req)

File "build/bdist.linux-i686/egg/acct_mgr/admin.py", line 95, in _do_users

_create_user(req, self.env, check_permissions=False)

File "build/bdist.linux-i686/egg/acct_mgr/web_ui.py", line 53, in _create_user

mgr.set_password(user, password)

File "build/bdist.linux-i686/egg/acct_mgr/api.py", line 98, in set_password

if self.password_store.set_password(user, password):

File "build/bdist.linux-i686/egg/acct_mgr/htfile.py", line 55, in set_password

self.userline(user, password))

File "build/bdist.linux-i686/egg/acct_mgr/htfile.py", line 90, in _update_file

for line in fileinput.input(str(filename), inplace=True):

File "/usr/lib/python2.5/fileinput.py", line 253, in next

line = self.readline()

File "/usr/lib/python2.5/fileinput.py", line 322, in readline

os.rename(self._filename, self._backupfilename)

OSError: [Errno 1] Operation not permitted}}}

Attachments (0)

Change History (2)

comment:1 by anonymous, 17 years ago

Resolution: worksforme
Status: newclosed

had to make sure the digest file was owned by the user running the webserver… ie, for me it was the user 'apache' and it wouldnt work otherwise even if full permissions were set.

comment:2 by Emmanuel Blot, 17 years ago

Anyway, as an AccountManagerPlugin issue, please report related errors on trac-hacks.org.

Modify Ticket

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