Index | Thread | Search

From:
Ricardo Branco <rbranco@suse.de>
Subject:
Re: ext2fs: Drop EXT2FS_SYSTEM_FLAGS and make its behaviour the default
To:
tech@openbsd.org
Date:
Fri, 18 Apr 2025 14:11:04 +0200

Download raw body.

Thread
One year has passed and this obvious patch hasn't been merged.

On 1/29/24 7:50 PM, Ricardo Branco wrote:
> On Linux, only root can set the immutable & append file flags. OpenBSD 
> _should_ stick with those semantics.
>
> The default behaviour allows the user to set the immutable/append 
> flags, which is problematic for at least 2 reasons:
>
> 1. The user setting the flag when only root should be allowed.
> 1. When the user sets those flags, he cannot unset them later when 
> running on Linux, FreeBSD (and perhaps other systems).  Only root.
>
> FreeBSD solved this issue already in 2009:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=122047
>
> Problem also reported to NetBSD, who recently committed the changes:
> https://mail-index.netbsd.org/netbsd-bugs/2024/01/29/msg081371.html
>
>
> Best,
> R