Draft: Error checking --backup, assume user id to delete
- Jun 08, 2022
-
-
Matt Barry authored
If tar returns !=0, do not proceed with file deletions. Assume the user's UID in order to remove files (as a safety valve). Closes: #992163
-
If tar returns !=0, do not proceed with file deletions. Assume the user's UID in order to remove files (as a safety valve).
Though parts of this bug are already dealt with elsewhere, these are two simple additional checks when deleting files. I haven't figured out a good way to test it (though existing tests obviously pass); any thoughts welcome.
Closes: #992163
If tar returns !=0, do not proceed with file deletions. Assume the user's UID in order to remove files (as a safety valve). Closes: #992163