Hi,
I was having problems getting the post-commit hook to run properly
during a svn commit.
Trac 0.12 on Debian with SVN.

I was getting Command not Found error from the post-commit script
which contains:
#!/bin/sh
/usr/bin/trac-admin /path/to/env changeset added "repos" "$1" "$2"

I worked out this is because the post-commit hook is being run under
the uid of the individual performing the commit, not under the trac
user... and the command required write access to the /path/to/env
structure.

So what I've had to do to get it working is add the SVN users to the
trac group, and make /path/to/env and everything underneath it group
writeable.

Is there another way to get round this sort of issue which means I
don't have to make the directory structure group writeable?

Cheers, Dave

-- 
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.

Reply via email to