Restore exits/fails when file has gid system

Restoring a directory which has a file with gid system. This is on macOS.

Either a) the file should be restored correctly, b) the file should be restored but without gid set, or c) if it must throw an error, for the restore to continue.

  1. This error in the log:
    2020-09-21 18:16:18.840 ERROR RESTORE_CHOWN Failed to change uid or gid: lchown : operation not permitted
  2. The restore terminates without restoring further files.

You can either run restore -ignore-owner ... to ignore uid/gid or sudo restore ... to have the permission to set uid/gid.