Subversion post-commit hook fails to send emails
Posted by: benjaminarai
Posted on: 2006-12-21 01:54:00
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