[p4] Trigger User issue

Robert Cowham robert at vaccaperna.co.uk
Sat Feb 10 04:12:27 PST 2007


Hi Ruy

You have correctly identified the problem - because your Perforce server is
running as a service it defaults to System. This is also the user that will
default to when executing triggers.

http://www.robertcowham.com/blog/scm/p4_triggers.html
See also the paper I presented at:
http://www.perforce.com/perforce/conferences/eu/2006/index.html

You may wish to consider:
- passing in the user for the script to use as a parameter
- logging that user in to the server manually and put them into a group with
a large timeout (e.g. 99999999 (8x9s) - 3 years)
- improving your script error handling so that you spot this sort of thing
more easily

HTH
Robert


More information about the perforce-user mailing list