permissioncheck: abort when getpwnam fails