fix perm check for known_hosts file