From: Al Viro Subject: Re: [PATCH] add unrestricted_chown option to vfs (mount) Date: Tue, 9 Dec 2008 04:58:51 +0000 Message-ID: <20081209045851.GB28946@ZenIV.linux.org.uk> References: <20081209042725.GA31729@niraj-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-fsdevel@vger.kernel.org, nick.couchman@seakr.com, hch@lst.de To: Niraj Kumar Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:50107 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751416AbYLIE6x (ORCPT ); Mon, 8 Dec 2008 23:58:53 -0500 Content-Disposition: inline In-Reply-To: <20081209042725.GA31729@niraj-laptop> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, Dec 09, 2008 at 09:57:25AM +0530, Niraj Kumar wrote: > > > Unrestricted chown: adds "unrestricted_chown" mount option. > > Add a new unrestricted_chown mount option to the VFS. This option is > used to disable the Posix _POSIX_CHOWN_RESTRICTED chown option on a given > filesystem which forbids non-privilegued users to give away files. > > This is currently implemented by XFS as a sysctl, but making it per > filesystem and available not just for XFS makes more sense. This has > also been requested in http://oss.sgi.com/bugzilla/show_bug.cgi?id=768. How the hell does that behaviour make any sense *anywhere*, XFS or no XFS? And why would we want to emulate IRIX misfeatures?