saltstack/salt — Issue #586: cmd with runas and cwd gives problems
Author: bastichelaar
Created: 2012-01-27 13:31:06+00:00
State: open

Because it sets the environment (using "su - user -c command"), the cwd is ignored and the command is ran from the users homedirectory. There is an option with_env, but its not proper implemented yet. Also, I cant override the with_env from the run command.