On Friday, October 4, 2013 2:36:33 AM UTC+4, Eric Blake wrote:
> On 10/03/2013 04:19 PM, victor@vsespb.ru wrote:
> > What about the following intent:
>
> > -if file exists, backup file
>
> > -throw an error in case of permission problem (to avoid missing files in
> > the backup destination)
>
> > ?
> And how do you propose to back up a file that you do not have permission
>
> to access? For all intents and purposes, the file may as well not exist
>
> in the first place.
>
I described use-case when user needs to *throw an error* when backup is
impossible.
That's important to know that backup failed in this use-case.