saltstack/salt — comment on commit dfc994b8fd4cd1f88ff6425196c51447c572c677
File: salt/states/ssh_auth.py line 71
By whiteinge:

Following the principal of least surprise, I'd suggest that the ssh module should sanity-check perms but error-out if the homedir doesn't exist yet. Meaning the user module should be the once source of truth there.