Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935259AbXHOSPA (ORCPT ); Wed, 15 Aug 2007 14:15:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758313AbXHOSOt (ORCPT ); Wed, 15 Aug 2007 14:14:49 -0400 Received: from smtpout.mac.com ([17.250.248.171]:57672 "EHLO smtpout.mac.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753131AbXHOSOs (ORCPT ); Wed, 15 Aug 2007 14:14:48 -0400 In-Reply-To: <824590.88264.qm@web52508.mail.re2.yahoo.com> References: <824590.88264.qm@web52508.mail.re2.yahoo.com> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Phillip Susi , Michael Tharp , alan , LKML Kernel , Lennart Sorensen Content-Transfer-Encoding: 7bit From: Kyle Moffett Subject: Re: Thinking outside the box on file systems Date: Wed, 15 Aug 2007 14:14:27 -0400 To: Marc Perkel X-Mailer: Apple Mail (2.752.2) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1537 Lines: 31 On Aug 15, 2007, at 14:05:23, Marc Perkel wrote: > In this new system setfacl, chmod, chown, and chgrp all go away > except inside of an emulation layer. File and directories no longer > have permissions. People have permission to naming patterns. So if > you put a file into a tree or move a tree then those who have > permissions to the tree have access to the files. > > It eliminates the step of having to apply permission after moving > files into a tree. You don't have to change file permissions > because files no longer have permissions. And I'm trying to tell you that unless you have some magic new algorithm that turns NP-complete problems into O(log(N)) problems, your idea won't work. You can't just say "I just do one little thing (mv) and the entire rest of the computer automagically changes to match", because that would imply a single unscalable global kernel lock. "Pattern"-matching is either NP-complete or high-polynomial- order, depending on how its implemented, and if you want to do a recursive-chmod during a directory move then you're going to have race-conditions out the ass. If you have code or solid math to back up your postings then please do so, but otherwise you're just wasting time and bandwidth. Cheers, Kyle Moffett - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/