From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f52.google.com ([209.85.218.52]:36017 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933285AbcHBDje (ORCPT ); Mon, 1 Aug 2016 23:39:34 -0400 Received: by mail-oi0-f52.google.com with SMTP id w18so219923186oiw.3 for ; Mon, 01 Aug 2016 20:39:34 -0700 (PDT) Date: Mon, 1 Aug 2016 22:39:31 -0500 From: Seth Forshee To: fuse-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, Miklos Szeredi , "Eric W. Biederman" , Michael j Theall , Jean-Pierre =?utf-8?B?QW5kcsOp?= Subject: Re: [RFC v3 0/2] Support for posix acls in fuse Message-ID: <20160802033931.GA33767@ubuntu-hedt> References: <1470086846-19844-1-git-send-email-seth.forshee@canonical.com> <87d1lsjdlu.fsf@thinkpad.rath.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87d1lsjdlu.fsf@thinkpad.rath.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, Aug 01, 2016 at 04:03:57PM -0700, Nikolaus Rath wrote: > On Aug 01 2016, Seth Forshee wrote: > > There's also a problem with default acls that I'm not sure there's > > currently a solution for. As far as I can tell FUSE_CREATE doesn't give > > back any indication of whether an existing file was opened or a new file > > was created. Without knowing that I cannot know whether or not the inode > > should inherit default acls from its parent. > > Would it be possible for the FUSE file system to implement this > inheritance by a dumb-copy of the ACL-related xattrs of the parent? > > This would solve your problem. But in addition to that, it also seems to > me that even if a file system uses default_permissions for ACL handling, > it may want implement a different policy for permission inheritance... In my opinion it's preferable for the kernel to handle all of this and for the filesystems to need only xattr support to get support for acls. The inheritance behavior is standard for default acls. It shouldn't be left to individual filesystems to decide the inheritance policy. Thanks, Seth