bupstash
bupstash copied to clipboard
unreadable file causes entire "put" operation to abort
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
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.
I was referring to a permission denied error.
Thank you.
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.