• [Poudriere] Why does it install files without write access?

    From Robin Haberkorn@21:1/5 to All on Tue Dec 24 21:07:09 2024
    Hello!

    Perhaps somebody knows how Poudriere works internally: I found that it
    coerces my port to install (during `make install`) scripts with
    permissions 0555. This breaks my post-installation hooks, where I am
    assuming that I can actually write to files installed into staging.
    Why is it doing this? Is there any good reason behind that?
    So far, it appears to have caused problems only on one build, but I may misinterpret the information on Freshports: https://www.freshports.org/editors/sciteco/

    Details and logs are in this Github ticket: https://github.com/freebsd/poudriere/issues/1195

    Best regards and merry chirstmas,
    Robin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Robin Haberkorn@21:1/5 to Robin Haberkorn on Wed Dec 25 01:25:02 2024
    On Tue, 24 Dec 2024, Robin Haberkorn wrote:

    Hello!

    Perhaps somebody knows how Poudriere works internally: I found that it coerces my port to install (during `make install`) scripts with permissions 0555. This breaks my post-installation hooks, where I am assuming that I can actually write to files installed into staging.
    Why is it doing this? Is there any good reason behind that?
    So far, it appears to have caused problems only on one build, but I may misinterpret the information on Freshports: https://www.freshports.org/editors/sciteco/

    Details and logs are in this Github ticket: https://github.com/freebsd/poudriere/issues/1195

    Forget what I wrote here.
    `make package` installs as 0555 as well.
    I fixed it by setting BINMODE=755 in the port's Makefile.
    At least I hope this will be accepted by the committer. At least some
    other ports do that as well.

    -- Robin

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)