Use file.check_perms to enforce ownership/permissions
Use file.check_perms to enforce ownership/permissions

The fix that I made in #8417 was incomplete in that it did not work on
symlinks. This uses an existing execution module function,
file.check_perms, to enforce the ownership and permissions.

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt