2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 10:05:25 +00:00

Add changelog and fix lint error

This commit is contained in:
Aneesh Nireshwalia 2024-02-24 13:47:49 -07:00
parent c0a1b9ada5
commit 5764300022
No known key found for this signature in database
GPG Key ID: 6F5A52831C046F44
2 changed files with 13 additions and 2 deletions

View File

@ -0,0 +1,12 @@
Enhancement: Back up and restore SecurityDescriptors on Windows
Restic did not back up SecurityDescriptors of files on Windows.
Restic now backs up and restores SecurityDescriptors (which includes owner, group,
discretionary access control list (DACL), system access control list (SACL))
when backing up files and folders on Windows. This requires the user to be
a member of backup operators or the application must be run as admin.
If that is not the case, only the current user's owner, group and DACL will be backed up
and during restore only the DACL of the backed file will be restored while the current
user's owner and group will be set during the restore.
https://github.com/restic/restic/pull/4708

View File

@ -65,7 +65,6 @@ func CombineErrors(errors ...error) (err error) {
return nil // If no errors, return nil
} else if !multipleErrors {
return err // If only one error, return that first error
} else {
return fmt.Errorf("multiple errors occurred: [%s]", combinedErrorMsg)
}
return fmt.Errorf("multiple errors occurred: [%s]", combinedErrorMsg)
}