From owner-freebsd-bugs@FreeBSD.ORG Mon Jun 2 07:30:08 2008 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F5A71065673 for ; Mon, 2 Jun 2008 07:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6CB188FC1C for ; Mon, 2 Jun 2008 07:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m527U8fO070028 for ; Mon, 2 Jun 2008 07:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m527U8j8070025; Mon, 2 Jun 2008 07:30:08 GMT (envelope-from gnats) Date: Mon, 2 Jun 2008 07:30:08 GMT Message-Id: <200806020730.m527U8j8070025@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Julian Elischer Cc: Subject: Re: kern/122047: [ext2fs] incorrect handling of UF_IMMUTABLE / UF_APPEND, flag on EXT2FS (maybe others) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Julian Elischer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2008 07:30:08 -0000 The following reply was made to PR kern/122047; it has been noted by GNATS. From: Julian Elischer To: Ighighi Cc: bug-followup@freebsd.org, freebsd-fs@freebsd.org Subject: Re: kern/122047: [ext2fs] incorrect handling of UF_IMMUTABLE / UF_APPEND, flag on EXT2FS (maybe others) Date: Mon, 02 Jun 2008 00:14:46 -0700 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. > > Anyway the attached patch extends the previous one by making it possible > to follow the current Linux convention by setting the sysctl to 0. > Setting it to 1, allows normal users to set them as well, and setting it > to -1 preserves current (though erroneous) FreeBSD behavior. > > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"