[cvsnt] Script execution problem
arthur.barrett at march-hare.com
Wed Feb 6 19:44:13 GMT 2008
> 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
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.
More information about the cvsnt