Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

You will engage in a profitable business activity.


comp / comp.unix.bsd.freebsd.misc / permission 0444 vs 0555 on /boot/kernel/*

SubjectAuthor
* permission 0444 vs 0555 on /boot/kernel/*Winston
`* Re: permission 0444 vs 0555 on /boot/kernel/*Robin Haberkorn
 `- Re: permission 0444 vs 0555 on /boot/kernel/*Winston

1
Subject: permission 0444 vs 0555 on /boot/kernel/*
From: Winston
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Mon, 25 Nov 2024 17:34 UTC
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wbe@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: permission 0444 vs 0555 on /boot/kernel/*
Date: Mon, 25 Nov 2024 12:34:24 -0500
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <yd8qt743q7.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Mon, 25 Nov 2024 18:34:26 +0100 (CET)
Injection-Info: dont-email.me; posting-host="56ba57182ebe4698d8e2bac0d91b0c03";
logging-data="3041910"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/M6iy/wHDTRWOLZeFJmDiX"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:O4A1kejoNhYTEYh9yWwh3XAmRBI=
sha1:NYYk6mFoTeFwH2AHxw+gWe1MiVM=
Mail-Copies-To: never
View all headers

'freebsd-update IDS' reports that most (all?) of the files in
/boot/kernel/, including /boot/kernel/kernel, should have
permission 0444, not 0555.

Really?

AFAIK, those files were written by freebsd-upgrade -r when the system
was upgraded from 14.0 to 14.1 and have only been touched since then by
freebsd-upgrade for patches, so I assume the files were installed with
0555.

Thanks,
-WBE

Subject: Re: permission 0444 vs 0555 on /boot/kernel/*
From: Robin Haberkorn
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Tue, 24 Dec 2024 15:52 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: permission 0444 vs 0555 on /boot/kernel/*
Date: Tue, 24 Dec 2024 18:52:39 +0300
Organization: A noiseless patient Spider
Lines: 14
Message-ID: <68a6f42f-b1f0-34b1-8bcb-ddcda785bcb6@googlemail.com>
References: <yd8qt743q7.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII; format=flowed
Injection-Date: Tue, 24 Dec 2024 16:52:44 +0100 (CET)
Injection-Info: dont-email.me; posting-host="1cd12be31a80c568f3194e7f34089d9c";
logging-data="2037252"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18nJFlKAnGASq/7LeiocTdJoXmm4L/Z7GY="
User-Agent: Alpine 2.26 (BSF 649 2022-06-02)
Cancel-Lock: sha1:kjP9l+51F2cCXXTTYnnccO3UhPE=
In-Reply-To: <yd8qt743q7.fsf@UBEblock.psr.com>
View all headers

On Mon, 25 Nov 2024, Winston wrote:

> 'freebsd-update IDS' reports that most (all?) of the files in
> /boot/kernel/, including /boot/kernel/kernel, should have
> permission 0444, not 0555.
>
> Really?
>
> AFAIK, those files were written by freebsd-upgrade -r when the system
> was upgraded from 14.0 to 14.1 and have only been touched since then by
> freebsd-upgrade for patches, so I assume the files were installed with
> 0555.
>
They are all 0444 on my system.

Subject: Re: permission 0444 vs 0555 on /boot/kernel/*
From: Winston
Newsgroups: comp.unix.bsd.freebsd.misc
Organization: A noiseless patient Spider
Date: Wed, 25 Dec 2024 01:34 UTC
References: 1 2
Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wbe@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: permission 0444 vs 0555 on /boot/kernel/*
Date: Tue, 24 Dec 2024 20:34:23 -0500
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <yd34icim00.fsf@UBEblock.psr.com>
References: <yd8qt743q7.fsf@UBEblock.psr.com>
<68a6f42f-b1f0-34b1-8bcb-ddcda785bcb6@googlemail.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Wed, 25 Dec 2024 02:34:22 +0100 (CET)
Injection-Info: dont-email.me; posting-host="6352a5a85f24f3679d5250ce3e721568";
logging-data="2216848"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18w5RhZiKUDv0PZq82rUycu"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:DhLaMhcdh0CL3qf/wwwznUdbD08=
sha1:9CpH4/BDBVemn/IBgTV7BuZkQHc=
Mail-Copies-To: never
View all headers

I originally posted:
>> 'freebsd-update IDS' reports that most (all?) of the files in
>> /boot/kernel/, including /boot/kernel/kernel, should have
>> permission 0444, not 0555.
>>
>> Really?
>>
>> AFAIK, those files were written by freebsd-upgrade -r when the system
>> was upgraded from 14.0 to 14.1 and have only been touched since then by
>> freebsd-upgrade for patches, so I assume the files were installed with
>> 0555.

to which Robin Haberkorn <robin.haberkorn@googlemail.com> replied:
> They are all 0444 on my system.

The answer turned out to be:

If the files with matching names are old enough (and in older releases
of FreeBSD, those files used to be 0555) and KeepModifiedMetadata in
/etc/freebsd-update.conf is yes, then the old permissions get retained.
freebsd-upgrade didn't distinguish distribution-modified from
user-modified. The Bugzilla discussion is at:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283110

-WBE

1

rocksolid light 0.9.8
clearnet tor