Modify ↓
Opened 17 years ago
Closed 17 years ago
#5173 closed defect (wontfix)
Permission denied?
| Reported by: | anonymous | Owned by: | Jeff Hammel |
|---|---|---|---|
| Priority: | normal | Component: | MailToTracPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.11 |
Description
I'm setting it up using Fetchmail by adding in:
mda "/usr/bin/mail2trac -p /srv/trac/project"
And I get the following error:
Traceback (most recent call last):
File "/usr/bin/mail2trac", line 7, in ?
sys.exit(
File "/usr/lib/python2.4/site-packages/mail2trac-0.0-py2.4.egg/mail2trac/email2trac.py", line 83, in main
mail2project(project, f.read())
File "/usr/lib/python2.4/site-packages/mail2trac-0.0-py2.4.egg/mail2trac/email2trac.py", line 30, in mail2project
env = open_environment(project)
File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/env.py", line 588, in open_environment
env = Environment(env_path)
File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/env.py", line 189, in __init__
self.setup_log()
File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/env.py", line 384, in setup_log
format=format)
File "/usr/lib/python2.4/site-packages/Trac-0.11.3-py2.4.egg/trac/log.py", line 27, in logger_factory
hdlr = logging.FileHandler(logfile)
File "/usr/lib/python2.4/logging/__init__.py", line 757, in __init__
stream = open(filename, mode)
IOError: [Errno 13] Permission denied: u'/srv/trac/rapaport/log/trac.log'
fetchmail: MDA returned nonzero status 1
not flushed
It's set up as the user apache (I also tried root) but neither works. Any help?
Attachments (0)
Note: See
TracTickets for help on using
tickets.



this is a permissions issue. whoever the script runs as must have write access to the trac environment and is out of scope of this plugin