Re: SYMLINK_NOFOLLOW

"Yury V. Zaytsev via mc" <[email protected]> Fri, 6 Feb 2026 06:21:06 +0100
Newsgroups gmane.comp.gnome.apps.mc.general
Message-ID <[email protected]>
--===============7372213796799431423==
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_D366F84C-BF68-4F79-86E3-B563F82FD48B"


--Apple-Mail=_D366F84C-BF68-4F79-86E3-B563F82FD48B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Feb 6, 2026, at 02:42, mi via mc <[email protected]> =
wrote:
>=20
> 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/4204d4d9668b54a5ffcf22a83b8d6=
a4f5ee485bd/src/keymap.c#L838

And here is the individual directory test:

=
https://github.com/MidnightCommander/mc/blob/4204d4d9668b54a5ffcf22a83b8d6=
a4f5ee485bd/lib/mcconfig/paths.c#L119

You are doing weird things with apparently only a partial understanding =
of what=E2=80=99s going on and posting incomplete or incorrect =
descriptions of what it looks like. I can=E2=80=99t afford to look into =
these emails deeper.=

--Apple-Mail=_D366F84C-BF68-4F79-86E3-B563F82FD48B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"overflow-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: =
after-white-space;"><br><div><blockquote type=3D"cite"><div>On Feb 6, =
2026, at 02:42, mi via mc &lt;[email protected]&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div><meta =
charset=3D"UTF-8"><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Menlo-Regular; font-size: 14px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">According to some old =
Samurai book, the ending is the most essential thing so let me start =
from the end :D &nbsp;- 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.<span =
class=3D"Apple-converted-space">&nbsp;</span></span><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Menlo-Regular; =
font-size: 14px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;">It works fine in I. and =
II.</span></div></blockquote></div><br><div>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:</div><div><br></div><div>https://github.com/MidnightCommander/mc/b=
lob/4204d4d9668b54a5ffcf22a83b8d6a4f5ee485bd/src/keymap.c#L838</div><div><=
br></div><div>And here is the individual directory =
test:</div><div><br></div><div>https://github.com/MidnightCommander/mc/blo=
b/4204d4d9668b54a5ffcf22a83b8d6a4f5ee485bd/lib/mcconfig/paths.c#L119</div>=
<div><br></div><div>You are doing weird things with apparently only a =
partial understanding of what=E2=80=99s going on and posting incomplete =
or incorrect descriptions of what it looks like. I can=E2=80=99t afford =
to look into these emails deeper.</div></body></html>=

--Apple-Mail=_D366F84C-BF68-4F79-86E3-B563F82FD48B--

--===============7372213796799431423==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-- 
mc mailing list
[email protected]
https://lists.midnight-commander.org/mailman/listinfo/mc

--===============7372213796799431423==--