Greetings, Mark O'Keefe!
> While using /bin/pwd -P to expand directories to get the absolute,
> non-symlinked version of the directory I discovered that this doesn't work
> on Cygwin as I believe it is meant to work.
> $ cd /tmp
> $ /bin/pwd -P
> /tmp
> $ ln -s /home .
> $ cd home
> $ /bin/pwd -
Thanks Ken, you gave me an idea.
$ uname -srvmo
CYGWIN_NT-6.3 2.3.0(0.290/5/3) 2015-09-08 22:33 x86_64 Cygwin
I'm using native symlinks for compatibility. Turns out that if you use the
below option to create the symlink you get the behavior I'm seeing. If you
don't use this it works correctly.
> From: Mark O'Keefe
>
> Hi,
>
> While using /bin/pwd -P to expand directories to get the absolute, non-
> symlinked version of the directory I discovered that this doesn't work on
> Cygwin as I believe it is meant to work.
>
>
> $ cd /tmp
> $ /bin/pwd -P
> /tmp
> $ ln -s /home .
> $ cd home
>
Hi,
While using /bin/pwd -P to expand directories to get the absolute,
non-symlinked version of the directory I discovered that this doesn't work on
Cygwin as I believe it is meant to work.
$ cd /tmp
$ /bin/pwd -P
/tmp
$ ln -s /home .
$ cd home
$ /bin/pwd -P
/home
$ pwd
/tmp/home
$ mkdir dummy
4 matches
Mail list logo