On 06/01/2011 11:14 AM, rac...@ractoc.com wrote:
Ah, but my emails are being sent and received correctly. So the
commit-email.pl is working as it should. I mainly added this to test
that the REPOS and the REV were being set correctly, and the are.

Okay, so then the second script is working. Debug the first.

It also might help if we know what it was supposed to do, and what it is not doing.

Is it possible that there is a problem with my TRAC_ENV?

Could be,

I set this to
the location of my trac webpage. There is one other snag, my trac
website runs as a different user.

Then likely the user running the hook can't read the env.

Could this be causing problems,

Yes.

and if  so, how do I get around that.

A couple of ways:
 1. Change perms
 2. sudo -u <website user>

Seeing that I can' change the owner on
either side.  Changing the owner on svn breaks my svn and changing the
owner of the trac webpage breaks trac.

Unsurprising. You can, however, put the svn user in a group, chgrp -R the files so that they're owned by that group, then chmod the files so that group has the necessary permissions.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@sixnet.com

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to