Fix perms security risk.