Fellow Duplicati users, I´m trying to restore a backup of a machine running a Ubuntu 20.04 Server OS and I´m using Duplicati version 2.0.5.1. I executed the restore command with the following options:
- –restore-permissions=true
- –restore-symlink-metadata=true
- –overwrite=true
The operation finishes with a bunch of errors related to simlinks with non-existing targets, but none of the erros im getting are related to my actual problem! (I checked the file paths).
After booting the system and trying to execute any sudo command i get the following error message:
sudo: /usr/bin/sudo must be owned by uid 0 and have the setuid bit set
Upon checking the restored files i discovered that all of the files which had the “s” permission (before the restore) have a “x” permission instead. (after the restore)
Examples:
Before: -rwsr-xr-x 1 root root 67816 Apr 2 2020 su
After: -rwxr-xr-x 1 root root 67816 Jul 21 07:49 su
Before: -rwsr-xr-x 1 root root 68208 May 28 06:37 passwd
After: -rwxr-xr-x 1 root root 68208 May 28 06:37 passwd
Is Duplicati not able to restore said “s” permissions, or am I missing something ?