[mc] SYMLINK_NOFOLLOW
Yury V. Zaytsev
yury at shurup.com
Fri Feb 6 05:21:06 UTC 2026
> On Feb 6, 2026, at 02:42, mi via mc <mc at lists.midnight-commander.org> wrote:
>
> According to some old Samurai book, the ending is the most essential thing so let me start from the end :D - the crucial difference for me is that in below scenario III., mc does not seem to eval the mc.keymap or anything at all in that symlinked folder. It works fine in I. and II.
I think the easiest for you would be to step through this function with the debugger (gdb or lldb, either by installing debugging symbols for the package or compiling mc yourself) and see what and why gets loaded:
https://github.com/MidnightCommander/mc/blob/4204d4d9668b54a5ffcf22a83b8d6a4f5ee485bd/src/keymap.c#L838
And here is the individual directory test:
https://github.com/MidnightCommander/mc/blob/4204d4d9668b54a5ffcf22a83b8d6a4f5ee485bd/lib/mcconfig/paths.c#L119
You are doing weird things with apparently only a partial understanding of what’s going on and posting incomplete or incorrect descriptions of what it looks like. I can’t afford to look into these emails deeper.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.midnight-commander.org/pipermail/mc/attachments/20260206/6720c88e/attachment.htm>
More information about the mc
mailing list