Subversion post-commit hook fails to send emails


#1

Hi,

I have been using the post-commit hook for over a year but in the last couple of weeks it has stopped sending commit emails to my users. I talked to a Dreamhost staff and they said that post-commit command was returning the following error when run under the Apache user.

sunset: 10:59 AM# su - dhapache -s/bin/bash
-c’/home/[home]/svn/[repository]/hooks/post-commit /home/[home]/svn/cbsrdb 98’
Insecure $ENV{PATH} while running setuid at
/usr/lib/subversion/hook-scripts/commit-email.pl line 454.
sunset: 10:59 AM#

Does anybody know what could be causing this? Thanks in advance.

Benjamin


#2

What’s line 454 look like?


#3

Sounds like the admins turned on some security. You might want to ask support what you can do to get around the “insecure environment” issue (and you might look in the wiki)

Wholly