install -d should bomb out if any args are regular files
From:
Dan Jacobson
Subject:
install -d should bomb out if any args are regular files
Date:
Thu, 20 Oct 2005 01:56:05 +0800
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.
Also the documentation is not clear about what if any of the arguments
already exist.