bug-coreutils
[Top][All Lists]
Advanced

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

Re: install -d should bomb out if any args are regular files


From: Jim Meyering
Subject: Re: install -d should bomb out if any args are regular files
Date: Thu, 20 Oct 2005 08:34:47 +0200

Dan Jacobson <address@hidden> wrote:
> This should bomb out right away,
> $ install -d /var/lib/dpkg/status /tmp/var/lib/dpkg/status
> install: `/var/lib/dpkg/status' exists but is not a directory
>
> instead of still creating /tmp/var/lib/dpkg/status.

Why?
Most other tools (cp, rm, mkdir, mv) continue processing
remaining command line arguments even if one provokes an error.




reply via email to

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