[cvsnt] Script execution problem
Arthur Barrett
arthur.barrett at march-hare.com
Wed Feb 6 19:44:13 GMT 2008
Michael,
> SYSTEM user has full right for my script (vbs) AND cmd.exe.
> "ALL cscript.exe C:/PATH/checkCommitMessage.vbs %s"
cscript.exe is not cmd.exe, ensure SYSTEM and the current user have access
to cscript.exe
Note: whilst the cvs.exe server process does run as SYSTEM it 'impersonates'
the client user - so both need access to the .exe that is running.
Also 'active scripting' plugin does not need to be enabled if you are simply
calling via commitinfo. Active scripting allows you to write a much more
complex script, with pre-defined 'function' names that get called directly
from CVSNT server, I think there are examples in the newsgroup history a
couple of years ago, and I'm not going to go trawling for them myself...
Just disable the active scripting and give execute access to cscript.exe.
Regards,
Arthur
More information about the cvsnt
mailing list