Emmanuel, Subversion is NOT being run from Apache. It is being run via SSH only. That's why I'm a bit perplexed as to why it isn't working. I can SSH into the machine with myuser and run the trac-post-commit-hook Python script without any problems, but it doesn't work over svn+ssh.
-- C On Jan 20, 4:31 pm, "Emmanuel Blot" <[EMAIL PROTECTED]> wrote: > The hook scripts are run from Subversion. > This means that your Trac DB should be R/W for the user that runs Subversion. > > If you are running Subversion from the Apache server (common case), > you need to give R/W permission to Apache to your Trac DB. > > As both Apache (Subversion) and Trac are web application, it makes > sense to use the same user for both services. You can also use Unix > groups to assign the right permissions. > > HTH, > Manu > > On 1/20/07, cjbottaro@@alumni.cs.utexas.edu <[EMAIL PROTECTED]> wrote: > > > > > > > Hello, > > I'm running svn over ssh and I'm trying to get trac-post-commit-hook to > > work. In /svn/hooks/post-commit, I echo the output of the > > trac-post-commit-hook and it says: > > > The user myuser requires read _and_ write permission to the database > > file /var/local/trac/db/trac.db and the directory it is located in. > > > Well myuser does have read/write permissions to > > /var/local/trac/db/trac.db and /var/local/trac/db. Infact, if I > > execute the trac-post-commit-hook from the command line with proper > > arguments, it runs fine and updates my tickets in trac appropriately. > > > Trac is being run as a daemon instead of through a webserver... if that > > matters. > > > Any help would be appreciated.-- > Manu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
