bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -e and permission denied


From: victor
Subject: Re: -e and permission denied
Date: Thu, 3 Oct 2013 16:12:27 -0700 (PDT)
User-agent: G2/1.0

On Friday, October 4, 2013 2:36:33 AM UTC+4, Eric Blake wrote:
> On 10/03/2013 04:19 PM, address@hidden 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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]