From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com ([66.111.4.27]:57090 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752038AbcGATiH convert rfc822-to-8bit (ORCPT ); Fri, 1 Jul 2016 15:38:07 -0400 From: Nikolaus Rath To: Seth Forshee Cc: "Eric W. Biederman" , Michael j Theall , fuse-devel@lists.sourceforge.net, linux-fsdevel@vger.kernel.org, Miklos Szeredi Subject: Re: [fuse-devel] [RFC] fuse: Support posix ACLs References: <20160629190731.GF53123@ubuntu-hedt> <87vb0rhhpr.fsf@x220.int.ebiederm.org> <20160630130746.GA123267@ubuntu-hedt> <871t3efxtv.fsf@x220.int.ebiederm.org> <20160630165414.GB123267@ubuntu-hedt> Date: Fri, 01 Jul 2016 12:37:15 -0700 In-Reply-To: <20160630165414.GB123267@ubuntu-hedt> (Seth Forshee's message of "Thu, 30 Jun 2016 11:54:14 -0500") Message-ID: <87a8i19ml0.fsf@thinkpad.rath.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Jun 30 2016, Seth Forshee wrote: > Yes, I've already written pretty much the same code and am attempting to > test it. The problem I'm having is finding a good filesystem to test > with. fusexmp works but is probably unfair as the underlying filesystem > is handling the acls and updating the mode. I haven't found any > filesystem yet that fully supports xattrs but doesn't do something > special with the posix acl xattrs. > > Can anyone suggest a good filesystem for me to test with? S3QL should do it with a small patch - at the moment it deliberately returns an error when the kernel tries to acces system.posix_acl*. This is done specifically so that the kernel doesn't think that ACLs are supported when they actually aren't (because of the missing synchronization with the permission bits). Download from https://bitbucket.org/nikratio/s3ql/ and comment out the check in src/s3ql/fs.py:getxattr(): # http://code.google.com/p/s3ql/issues/detail?id=385 elif name in (b'system.posix_acl_access', b'system.posix_acl_default'): raise FUSEError(ACL_ERRNO) Best, -Nikolaus -- GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«