[Bug 1715753] Re: ln --relative broken on u14, works on u16
Hans Joachim Desserud
1715753 at bugs.launchpad.net
Fri Sep 8 17:06:41 UTC 2017
** Tags added: trusty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1715753
Title:
ln --relative broken on u14, works on u16
Status in coreutils package in Ubuntu:
New
Bug description:
in ubuntu14, the behavior of "ln --relative" seems to be quite broken.
on ubuntu 16 it works as expected. can we please backport whatever
fix from u16 or update coreutils? 8.15 is where they started including
the 'realpath' binary, maybe they fixed "ln --relative" too.
u14 INCORRECT:
$ loop=0; nloops=4; base=/tmp/lntest; rm -rf $base/ && mkdir -p $base/dir &&
touch $base/dir/file && while ((loop++ < nloops)); do ln -frs $base/dir/file $base/link; readlink -f $base/link; sleep 1; done
/tmp/lntest/dir/file
/tmp/lntest/file
/tmp/lntest/dir/file
/tmp/lntest/file
u16 CORRECT:
$ loop=0; nloops=4; base=/tmp/lntest; rm -rf $base/ && mkdir -p $base/dir &&
touch $base/dir/file && while ((loop++ < nloops)); do ln -frs $base/dir/file $base/link; readlink -f $base/link; sleep 1; done
/tmp/lntest/dir/file
/tmp/lntest/dir/file
/tmp/lntest/dir/file
/tmp/lntest/dir/file
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1715753/+subscriptions
More information about the foundations-bugs
mailing list