Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757024AbcCCQEH (ORCPT ); Thu, 3 Mar 2016 11:04:07 -0500 Received: from mail-ob0-f178.google.com ([209.85.214.178]:36858 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751787AbcCCQEE (ORCPT ); Thu, 3 Mar 2016 11:04:04 -0500 MIME-Version: 1.0 X-Originating-IP: [217.173.44.24] In-Reply-To: <145424648900.10573.4331586687947621230.stgit@zurg> References: <145424648900.10573.4331586687947621230.stgit@zurg> Date: Thu, 3 Mar 2016 17:04:03 +0100 Message-ID: Subject: Re: [PATCH] ovl: copy new uid/gid into overlayfs runtime inode From: Miklos Szeredi To: Konstantin Khlebnikov Cc: 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: 316 Lines: 8 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. Miklos