After configuring the pre-promote-trig, commands such as "accurev promote -k" and "accurev promote -s <stream name> -d" work fine.
A problem occurs when you try to promote from a workspace to a stream in the AccuRev GUI. The following error is returned:
Pre-promote trigger failed, promote aborted
Unable to open temp file: actmp_18299
Open the permission of the <accurev_install_dir>\bin to 777.
$ chmod 777 <accurev_install_dir>\bin
Once this is complete, retry the promote from within the AccuRev GUI.
For more information contact AccuRev Support