Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751245AbcCDFGU (ORCPT ); Fri, 4 Mar 2016 00:06:20 -0500 Received: from mail-oi0-f54.google.com ([209.85.218.54]:33555 "EHLO mail-oi0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbcCDFGT (ORCPT ); Fri, 4 Mar 2016 00:06:19 -0500 MIME-Version: 1.0 X-Originating-IP: [217.173.44.24] In-Reply-To: References: <145424648900.10573.4331586687947621230.stgit@zurg> Date: Fri, 4 Mar 2016 06:06:17 +0100 Message-ID: Subject: Re: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode From: Miklos Szeredi To: Sedat Dilek Cc: Konstantin Khlebnikov , Linux-Fsdevel , "linux-unionfs@vger.kernel.org" , Kernel Mailing List , Alexander Viro Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 785 Lines: 26 On Thu, Mar 3, 2016 at 7:58 PM, Sedat Dilek wrote: > On 3/3/16, Miklos Szeredi wrote: >> On Sun, Jan 31, 2016 at 2:21 PM, Konstantin Khlebnikov >> wrote: >>> Overlayfs must update uid/gid after chown, otherwise functions >>> like inode_owner_or_capable() will check user against stale uid. >>> Catched by xfstests generic/087, it chowns file and calls utimes. >> >> Queued up patch. Thanks. >> > > In which Git tree you do that? > [1] points to [2], still true? It is. I just forgot to push yesterday evening. Pushed now. Thanks, Miklos > > - Sedat - > > [1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/MAINTAINERS#n8110 > [2] http://git.kernel.org/cgit/linux/kernel/git/mszeredi/vfs.git/ >