Resolving symlinked dirs when execing command

Hi Pavel,

[I hope to find time and test release candidate this weekend]

One thing which may be simple to fix:

On my machine I have:

$ ls -l /software
lrwxrwxrwx    1 root     root           14 Jun 26 12:23 /software -> /auto/software

If I cd into /software while I am in mc, and then
I run any command, it is run in *resolved dir*:

$ pwd

It differs from what happens under e.g. shell:

sh-3.1$ cd /software
sh-3.1$ pwd

Why mc resolves dir and cd'es into it before it forks a child?

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