Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965089AbbFJPdk (ORCPT ); Wed, 10 Jun 2015 11:33:40 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:59692 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965061AbbFJPd0 (ORCPT ); Wed, 10 Jun 2015 11:33:26 -0400 Message-Id: <1433950405.375893.291973049.101362CB@webmail.messagingengine.com> X-Sasl-Enc: VAH6aAPHUa48wrGIFOtDb3a1aeOINnqqJpVeEZnpI7Dl 1433950405 From: Colin Walters To: David Howells , miklos@szeredi.hu, viro@ZenIV.linux.org.uk Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-ff004c4b Subject: Re: [PATCH] overlayfs: Warn on copy up if a process has a R/O fd open to the lower file Date: Wed, 10 Jun 2015 11:33:25 -0400 In-Reply-To: <4954.1432838811@warthog.procyon.org.uk> References: <4954.1432838811@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 586 Lines: 11 On Thu, May 28, 2015, at 02:46 PM, David Howells wrote: > Print a warning when overlayfs copies up a file if the process that triggered > the copy up has a R/O fd open to the lower file being copied up. Why not an option to make it an error? If one's goal is to use overlayfs without apps potentially corrupting data, better to fail fast. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/