<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Or maybe TRAC_ENV is not defined?<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Anyway, here is what git push produces. (The push succeeds, but the post-receive-hook stuff isn't executed.)<br><br>emote: Traceback (most recent call last):<br>remote:   File "/project/cmucl/public_html/git/<a href="http://trac-post-receive-hook.3.py">trac-post-receive-hook.3.py</a>", line 193, in <module><br>remote:     env = open_environment(TRAC_ENV)<br>remote:   File "build/bdist.linux-x86_64/egg/trac/env.py", line 875, in open_environment<br>remote:   File "build/bdist.linux-x86_64/egg/trac/core.py", line 124, in __call__<br>remote:   File "build/bdist.linux-x86_64/egg/trac/env.py", line 284, in __init__<br>remote:   File "build/bdist.linux-x86_64/egg/trac/env.py", line 640, in setup_config<br>remote:   File "build/bdist.linux-x86_64/egg/trac/env.py", line 672, in setup_log<br>remote:   File "build/bdist.linux-x86_64/egg/trac/log.py", line 27, in logger_handler_factory<br>remote:   File "/usr/lib/python2.7/logging/__init__.py", line 901, in __init__<br>remote:     StreamHandler.__init__(self, self._open())<br>remote:   File "/usr/lib/python2.7/logging/__init__.py", line 924, in _open<br>remote:     stream = open(self.baseFilename, self.mode)<br>remote: IOError: [Errno 13] Permission denied: u'/project/cmucl/trac/log/trac.log'<br>To ssh://<a href="http://rtoy@common-lisp.net/var/git/projects/cmucl/cmucl.git">rtoy@common-lisp.net/var/git/projects/cmucl/cmucl.git</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 24, 2014 at 8:01 PM, Raymond Toy <span dir="ltr"><<a href="mailto:toy.raymond@gmail.com" target="_blank">toy.raymond@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I just tried to push a commit to the cmucl repo and got an error from cmucl's post-receive-hook.<br><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I think it's complaining that /project/cmucl/trac/log/trac.log has the wrong permissions.  All of the backup logs are owned www-data.cmucl. But the current log is www-data.www-data.  The actual permissions (rw-rw-r--) on the file seems to be ok, compared to the others.<span class="HOEnZb"><font color="#888888"><br clear="all"></font></span></div><span class="HOEnZb"><font color="#888888"><br>-- <br><div dir="ltr"><div></div>Ray<br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div></div>Ray<br></div>
</div>