GNU bug report logs - #21497
install from multiple sources to -t target uses incorrect folder on some sources

Previous Next

Package: coreutils;

Reported by: Chris Severance <aur.severach <at> spamgourmet.com>

Date: Wed, 16 Sep 2015 15:24:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Chris Severance <aur.severach <at> spamgourmet.com>
To: bug-coreutils <at> gnu.org
Subject: install from multiple sources to -t target uses incorrect folder on
 some sources
Date: Wed, 16 Sep 2015 10:29:16 -0400
The following script of 4 equivalent installs does not complete.

#!/usr/bin/bash

set -e
set -u

# Bug report for install (GNU coreutils) 8.24
# Arch Linux gq 4.1.6-1-ARCH #1 SMP PREEMPT Mon Aug 17 08:52:28 CEST
2015 x86_64 GNU/Linux
# The following 4 install do the same thing. One will fail.

rm -rf 'testin' 'testout'
mkdir -p 'testin/d2'
touch 'testin/f1' 'testin/d2/f2' 'f3'
echo 'Try 1'
install -Dpm644 'testin/f1' 'testin/d2/f2' 'f3' -t "${PWD}/testout/"
rm -rf 'testout'
echo 'Try 2'
install -Dpm644 "${PWD}/testin/f1" "${PWD}/testin/d2/f2" 'f3' -t
"testout/"
rm -rf 'testout'
echo 'Try 3'
install -Dpm644 'f3' "${PWD}/testin/f1" "${PWD}/testin/d2/f2" -t
"${PWD}/testout/"
rm -rf 'testout'
echo 'Try 4 will fail'
install -Dpm644 "${PWD}/testin/f1" "${PWD}/testin/d2/f2" 'f3' -t
"${PWD}/testout/"
# install: cannot stat 'f3': No such file or directory







This bug report was last modified 9 years and 221 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.