bupstash icon indicating copy to clipboard operation
bupstash copied to clipboard

unreadable file causes entire "put" operation to abort

Open xkcd386at opened this issue 3 years ago • 3 comments

This runs counter to expectations from more common tools like tar, rsync, or moving up the chain, borg.

I have some legitimate situations where I would prefer that everything else gets backed up and an error reported only for those files (with perhaps a different exit code), than that the entire operation aborts.

I don't mind if this takes time to fix; all I ask for now is if this is something that may be fixed at some point, or is there some basic principle that fixing it would violate and therefore this behaviour is never going to change.

thanks

xkcd386at avatar Dec 31 '21 06:12 xkcd386at

are you referring to a permission denied error or something else? I can see why one might want to continue in such a case we can consider tweaking the behavior.

I like your idea of a different error code for this situation.

andrewchambers avatar Dec 31 '21 21:12 andrewchambers

I was referring to a permission denied error.

Thank you.

xkcd386at avatar Jan 05 '22 07:01 xkcd386at

I have added a new --ignore-permission-errors in a draft pull request, I will merge this soon once I have had time to test it.

andrewchambers avatar Jul 29 '22 09:07 andrewchambers