[Trac] Improve Tickets - Commit hooks
Emmanuel Blot
manu.blot at gmail.com
Fri Jul 21 04:06:01 CDT 2006
> I ran the post commit manually as you stated and the problem where juste
> read/write access to the tracdb so a simple "chmod -R a+rw
> /trac/TestProj/db" fixed the problem...
>
> Quite easy when you eventually get the trace ;)
I forgot to say that you need to run the script as the same user as
your web server:
sudo -u www-data python .../trac-post-commit-hook <args>
It is probably not a good idea to leave your Trac DB world-writable ;-)
HTH,
Manu
More information about the Trac
mailing list