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

post-commit.bat doesn't work through svn but through running it with administrational rights

From: <carl-otto_at_kjellkvist.se>
Date: 2007-12-07 11:52:10 CET
('binary' encoding is not supported, stored as-is) Hi,

I'm trying to integrate Subversion with Mantis. Mantis is on a nother server than Subversion so I have mapped a folder to Mantis with permission for everyone.

In a post-commit.bat file (have tryed it in pre-commit as well to get the error message):

TYPE "C:\ToMantisFiles\log.txt" | "C:\Program Files\PHP\php.exe" "\\192.168.180.100\mantis\core\checkin.php"

if I run this file manually (as administrator), the issue in mantis will get solved. But if I commit a change through svn nothing happens. To se that the files is executed I have changed the name of tha php-path and then I get an error, so I know it is executed.

But if I change the path to mantis nothing happens. I have set all permissions to php.exe to everyone. The only thing I can think of is some kind of permission fault with the user account which svn runs with. But I can not figure it out.

Any thoughs?

Best regards

Carl-Otto

--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.org Received on Fri Dec 7 11:52:36 2007

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.