From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: "J. R. Okajima" Subject: Re: [RFC 1/1] shiftfs: uid/gid shifting bind mount To: James Bottomley Cc: Djalal Harouni , Chris Mason , Theodore Tso , Josh Triplett , "Eric W. Biederman" , Andy Lutomirski , Seth Forshee , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, Dongsu Park , David Herrmann , Miklos Szeredi , Alban Crequy , Al Viro , "Serge E. Hallyn" , Phil Estes In-Reply-To: <1487650073.2337.75.camel@HansenPartnership.com> References: <1486235880.2484.17.camel@HansenPartnership.com> <1486235972.2484.19.camel@HansenPartnership.com> <4608.1486351540@jrobl> <1486363583.2496.63.camel@HansenPartnership.com> <23764.1486398277@jrobl> <1487638135.2337.51.camel@HansenPartnership.com> <25645.1487645847@jrobl> <1487650073.2337.75.camel@HansenPartnership.com> Date: Tue, 21 Feb 2017 13:34:22 +0900 Message-ID: <20701.1487651662@jrobl> Sender: linux-kernel-owner@vger.kernel.org List-ID: James Bottomley: > With a different owner view, but that's irrelevant to the underlying > inode. Ok, the different ownership is limited within shitfs (or userns, container). Good. I might forget that shiftfs wants to behave like bind-mount. And I noticed that shiftfs setattr() converts uid/gid before calling backend fs' ->setattr(). It is good too. But how about acl? Won't such conversion be necessary for acl too? J. R. Okajima