public inbox for goredo-devel@lists.stargrave.org
Atom feed
From: Sergey Matveev <stargrave@stargrave•org>
To: goredo-devel@lists.cypherpunks.su
Subject: Re: goredo gets confused with relative paths and symlinks
Date: Fri, 24 Oct 2025 16:59:42 +0300 [thread overview]
Message-ID: <aPuGTrBDEAsKB1zJ@stargrave.org> (raw)
In-Reply-To: <CAJoaZ9KgYGydJH_aRApWULjzqmN8a3Gv2Q25NZv47N9DLRJ_iQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]
*** Rafael Fourquet [2025-10-24 15:45]:
>The archive seems to have it:
>http://lists.cypherpunks.su/archive/goredo-devel/CAJoaZ9Lv3VL0B_hqzZWSd4FUGr3bOZVyDhWE2F2ie1OsqGRZ-g@mail.gmail.com/
Hm, that is strange. My mail server delivered it to the maillist
properly, but cut it while delivering to my mailbox. Very strange.
Will look why that could happen and investigate it.
>It seems that's exactly what happens. The do file was determined to exist
>(and `doFile.a` does indeed exist, and is executable), but
>the `Access()` call is done on `doFile.rel`, which does not exist in the context
>of my example.
That sucks. Symlinks can complicate things so much indeed.
>But I don't think that calling `/bin/sh` on that executable file is acceptable.
Agreed, calling /bin/sh on executable is an unacceptable thing. Code
just does not expect that there could be an error about missing file it all.
I will think about that later, at least not earlier than Sunday (pretty
busy right now). I am not sure that you fix is a good thing: I am sure
that there are many other strange unexpected things could happen because
of those symlinks. So maybe I should check if there is some
"desynchronisation" between relative and absolite paths occured and
preventing running further at all, as I think noone can give enough
guarantees of any workability in presence of symlinks. Currently can not
give right answer. Will see soon. At least I will make a new release
with your patch.
--
Sergey Matveev (http://www.stargrave.org/)
LibrePGP: 12AD 3268 9C66 0D42 6967 FD75 CB82 0563 2107 AD8A
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 265 bytes --]
next prev parent reply other threads:[~2025-10-24 13:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-23 13:54 goredo gets confused with relative paths and symlinks Rafael Fourquet
2025-10-23 14:10 ` goredo
2025-10-23 14:58 ` Rafael Fourquet
2025-10-24 12:12 ` Sergey Matveev
2025-10-24 13:45 ` Rafael Fourquet
2025-10-24 13:59 ` Sergey Matveev [this message]
2025-10-24 12:03 ` Sergey Matveev
2025-10-26 14:34 ` Sergey Matveev