Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

BOFH excuse #269: Melting hard drives


comp / comp.unix.bsd.freebsd.misc / [Poudriere] Why does it install files without write access?

SubjectAuthor
* [Poudriere] Why does it install files without write access?Robin Haberkorn
`- Re: [Poudriere] Why does it install files without write access?Robin Haberkorn

1
Subject: [Poudriere] Why does it install files without write access?
From: Robin Haberkorn
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Tue, 24 Dec 2024 18:07 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: robin.haberkorn@googlemail.com (Robin Haberkorn)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: [Poudriere] Why does it install files without write access?
Date: Tue, 24 Dec 2024 21:07:09 +0300
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <1a70b341-8245-4283-ad9d-87d5fcf8dee6@googlemail.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=US-ASCII
Injection-Date: Tue, 24 Dec 2024 19:07:16 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1cd12be31a80c568f3194e7f34089d9c";
logging-data="2082861"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19RW9lIV2tVuS4PDy4g2LV+nE9Vty9wHww="
User-Agent: Alpine 2.26 (BSF 649 2022-06-02)
Cancel-Lock: sha1:r8LjOSs/2K+iiAyQpTQfEPNfwIU=
View all headers

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

Subject: Re: [Poudriere] Why does it install files without write access?
From: Robin Haberkorn
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Tue, 24 Dec 2024 22:25 UTC
References: 1
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: robin.haberkorn@googlemail.com (Robin Haberkorn)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: [Poudriere] Why does it install files without write access?
Date: Wed, 25 Dec 2024 01:25:02 +0300
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <8d16f222-b27e-2142-b539-59b69dd5d8df@googlemail.com>
References: <1a70b341-8245-4283-ad9d-87d5fcf8dee6@googlemail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Date: Tue, 24 Dec 2024 23:25:06 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1cd12be31a80c568f3194e7f34089d9c";
logging-data="2164134"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18VJVT/ZER4tTiBuaetcCgP/FEXdhJUwjU="
User-Agent: Alpine 2.26 (BSF 649 2022-06-02)
Cancel-Lock: sha1:8Y7QQXj/RQR39f2dqiykF6Qmz3M=
In-Reply-To: <1a70b341-8245-4283-ad9d-87d5fcf8dee6@googlemail.com>
View all headers

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

1

rocksolid light 0.9.8
clearnet tor