From: Rafael Sadowski Subject: Re: ext2fs: Drop EXT2FS_SYSTEM_FLAGS and make its behaviour the default To: Ricardo Branco Cc: tech@openbsd.org Date: Mon, 21 Apr 2025 09:58:16 +0200 On Fri Apr 18, 2025 at 06:05:26PM +0200, Ricardo Branco wrote: > Sending updated patch as attachment. > > > Best, > > > 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 I see the point *ONLY* root should be able to set this flag. Are there any concerns, I would like to commit this. Rafael