Synology: "The restore command encountered an error: Failed to change uid or gid: lchown /foo/file: operation not permitted Exit code: 100"

Hi, I had the above error. And I read up that the workaround is to use Options “-ignore-owner”…that works.

But just wondering why this happens…I tried giving duplicacy full control in DSM (7.0.1) (see image)…that didn’t solve it either…any ideas?

also tried making owner admin http administrators myself as below…no dice

2022-05-30 02:27:30.941 INFO REPOSITORY_SET Repository set to /volume1/SSD/duplicacyrestore
2022-05-30 02:27:30.942 INFO STORAGE_SET Storage set to /volume1/SSD/duplicacy
2022-05-30 02:27:30.942 INFO SNAPSHOT_FILTER Loaded 0 include/exclude pattern(s)
2022-05-30 02:27:30.942 INFO RESTORE_INPLACE Forcing in-place mode with a non-default preference path
2022-05-30 02:27:30.953 INFO SNAPSHOT_FILTER Parsing filter file /tmp/duplicacy/repositories/localhost/restore/.duplicacy/filters
2022-05-30 02:27:30.953 INFO SNAPSHOT_FILTER Loaded 0 include/exclude pattern(s)
2022-05-30 02:27:30.961 INFO RESTORE_START Restoring /volume1/SSD/duplicacyrestore to revision 1
2022-05-30 02:27:30.962 ERROR RESTORE_CHOWN Failed to change uid or gid: lchown /volume1/SSD/duplicacyrestore/@eaDir: operation not permitted

1 Like

Having the same issue on restore with DSM 7.2 and the lastest web package install.

Did you ever manage to solve this?