saltstack/salt — pull request #1598 by imankulov (2012-07-09 15:54:26+00:00)
Title: Set up owner of ~/.ssh/known_hosts

I found one more bug in my code and fixed it with this commit. Please consider merging. Thanks.

- Fixed behaviour, when if known_hosts is created by salt, then the
owner of the file will be the salt process (usually, root)
- On the other hand, non-roots cannot set up ownership, and we skip
this step for them (useful mostly in tests, though).