Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 2008 10:40:04 GMT
From:      Bruce Evans <brde@optusnet.com.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/122047: [ext2fs] incorrect handling of UF_IMMUTABLE / UF_APPEND, flag on EXT2FS (maybe others)
Message-ID:  <200806021040.m52Ae4FP091719@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/122047; it has been noted by GNATS.

From: Bruce Evans <brde@optusnet.com.au>
To: Julian Elischer <julian@elischer.org>
Cc: Ighighi <ighighi@gmail.com>, freebsd-fs@freebsd.org,
        bug-followup@freebsd.org
Subject: Re: kern/122047: [ext2fs] incorrect handling of UF_IMMUTABLE /
 UF_APPEND, flag on EXT2FS (maybe others)
Date: Mon, 2 Jun 2008 20:30:02 +1000 (EST)

 On Mon, 2 Jun 2008, Julian Elischer wrote:
 
 > Ighighi wrote:
 >> On Linux, only the root user may set/clear the immutable/append flags
 >> on ext2 filesystems... Shouldn't FreeBSD do this too, as a POLA?
 >
 > No I think it should preserver the BSD scheme where being able to
 > change the immutable bits is controlled by the system secure level.
 > (and your UID of course). At least I think that is what I would
 > expect. (All file systems to behave about the same for a
 > particular OS.
 
 No, the securelevel already controls things, and the BSD scheme reduces
 to only allowing root (strictly, processes with appropriate privilege,
 as restricted by securelevel and jails etc, but never mere users), to
 change immutable bits, because ext2fs doesn't have any user immutable
 bits to change (except phantom bits due to bugs in the current FreeBSD
 implementation).
 
 Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806021040.m52Ae4FP091719>