bug-coreutils
[Top][All Lists]
Advanced

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

bug#22022: ls - error making symbolic links with relative paths


From: Felipe Matas
Subject: bug#22022: ls - error making symbolic links with relative paths
Date: Thu, 26 Nov 2015 17:32:55 +0000 (UTC)

Hi, well this happend when we try to make a symbolic link with a relative when the dist directory is a subdirectory.
if you repeat this examples with a full path it works.

Ex, in bash

mkdir b
mkdir c
echo "hi" > b/a
ln -s b/* c/
## here when we do 'cat c/a' we get: No such file or directory - The link exist
rm c/a
ln -s b/a c/
## here when we do 'cat c/a' we get: No such file or directory - The link exist
rm c/a
ln -s b/a c/a
## here when we do 'cat c/a' we get: No such file or directory - The link exist

##if we are in the dist directory works
cd c
rm a
ln -s ../b/* . ##woks
rm a
ln -s ../b/a . ##works
rm a
ln -s ../b/a a #works


Distro: Gentoo 64
Coreutils 8.23

Thx.


reply via email to

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