Stumbled upon relative name resolution across symlinks
- Date: Fri, 2 Nov 2018 01:39:08 +0300
- From: Andrey Repin <anrdaemon@xxxxxxxxx>
- Subject: Stumbled upon relative name resolution across symlinks
$ ls -ld bin ca-profile
lrwxrwxrwx 1 anrdaemon None 61 ноя 2 01:15 bin -> /home/anrdaemon/Documents/NIX/CA-tutorial/svn-working/scripts
-rwx--x--x 1 anrdaemon None 588 дек 24 2017 ca-profile
$ cat bin/../ca-profile
cat: bin/../ca-profile: No such file or directory
$ cat $( realpath -Le "bin/../ca-profile" )
# @version $Id: ca-profile 82 2014-02-08 05:24:12Z anrdaemon $
In simpler words, the bin directory is symlinked from elsewhere.
realpath -Le resolves correctly, but all other filesystem functions fail.
I vaguely recall that there was some discussion on the matter, but search
returns too many results, can't read them all.
My question, basically: is this expected way of things?
If so, I'd just workaround it. Sad but doable.
With best regards,
Friday, November 2, 2018 1:31:12
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple