Modify ↓
#367 closed defect (worksforme)
Permission denied FC5 Apache 2.2 htdigest
| Reported by: | tcasada | Owned by: | Matt Good |
|---|---|---|---|
| Priority: | normal | Component: | AccountManagerPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.9 |
Description (last modified by )
I have the owner on my htdigest file set to apache group root and have even chmod 777 on it. Still when trying to create a new user I get:
[Errno 13] Permission denied
Here is the Python traceback:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, 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-x86_64/egg/acct_mgr/web_ui.py", line 117, in process_request
File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 138, in _do_create
File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 88, in set_password
File "build/bdist.linux-x86_64/egg/acct_mgr/htfile.py", line 50, in set_password
File "build/bdist.linux-x86_64/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 (0)
Change History (2)
comment:1 Changed 19 years ago by
| Resolution: | → worksforme |
|---|---|
| Status: | new → closed |
comment:2 Changed 12 years ago by
| Description: | modified (diff) |
|---|
Note: See
TracTickets for help on using
tickets.



Fedora Core comes with SELinux enabled by default. You need to explicitly allow file access to Apache.