[Clo-devel] Permission error on trac log

Raymond Toy toy.raymond at gmail.com
Thu Sep 25 03:04:53 UTC 2014


Or maybe TRAC_ENV is not defined?

Anyway, here is what git push produces. (The push succeeds, but the
post-receive-hook stuff isn't executed.)

emote: Traceback (most recent call last):
remote:   File "/project/cmucl/public_html/git/trac-post-receive-hook.3.py",
line 193, in <module>
remote:     env = open_environment(TRAC_ENV)
remote:   File "build/bdist.linux-x86_64/egg/trac/env.py", line 875, in
open_environment
remote:   File "build/bdist.linux-x86_64/egg/trac/core.py", line 124, in
__call__
remote:   File "build/bdist.linux-x86_64/egg/trac/env.py", line 284, in
__init__
remote:   File "build/bdist.linux-x86_64/egg/trac/env.py", line 640, in
setup_config
remote:   File "build/bdist.linux-x86_64/egg/trac/env.py", line 672, in
setup_log
remote:   File "build/bdist.linux-x86_64/egg/trac/log.py", line 27, in
logger_handler_factory
remote:   File "/usr/lib/python2.7/logging/__init__.py", line 901, in
__init__
remote:     StreamHandler.__init__(self, self._open())
remote:   File "/usr/lib/python2.7/logging/__init__.py", line 924, in _open
remote:     stream = open(self.baseFilename, self.mode)
remote: IOError: [Errno 13] Permission denied:
u'/project/cmucl/trac/log/trac.log'
To ssh://rtoy@common-lisp.net/var/git/projects/cmucl/cmucl.git

On Wed, Sep 24, 2014 at 8:01 PM, Raymond Toy <toy.raymond at gmail.com> wrote:

> I just tried to push a commit to the cmucl repo and got an error from
> cmucl's post-receive-hook.
>
> 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.
>
> --
> Ray
>



-- 
Ray
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/clo-devel/attachments/20140924/8a148b67/attachment.html>


More information about the clo-devel mailing list