Date: Mon, 02 Jun 2008 00:14:46 -0700 From: Julian Elischer <julian@elischer.org> To: Ighighi <ighighi@gmail.com> Cc: 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) Message-ID: <48439DE6.50505@elischer.org> In-Reply-To: <48438687.1080606@gmail.com> References: <48438687.1080606@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48439DE6.50505>