[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Post commit hook script: strange behavior

From: Nicolas Goutte <nicolasg_at_snafu.de>
Date: 2005-06-06 13:16:41 CEST

On Monday 06 June 2005 12:41, Lutz Frommberger wrote:
(...)
>
> If calling post-commit from a shell (as user www-data), the script works
> without a problem. Also the script runs without a problem when invoked
> by cron (as the same user). Hardware problems are very unlikely, the
> server moved to new hardware recently without changing this behavior.

The FAQ tells that such behaviour is normally due to $PATH missing. Have you
checked that it is not the problem.

>
> So where is the speciality about the post commit thing? Do I understand
> something wrong?

One special thing is that the environment is empty (for security reasons).
(However for crontab $PATH is mostly defined.)

>
(...)

Have a nice day!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jun 6 13:19:53 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.