From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 5 18:29:44 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AF2C106568D; Thu, 5 Nov 2009 18:29:44 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0B2078FC12; Thu, 5 Nov 2009 18:29:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nA5IThLn068107; Thu, 5 Nov 2009 18:29:43 GMT (envelope-from jh@freefall.freebsd.org) Received: (from jh@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nA5IThLj068103; Thu, 5 Nov 2009 18:29:43 GMT (envelope-from jh) Date: Thu, 5 Nov 2009 18:29:43 GMT Message-Id: <200911051829.nA5IThLj068103@freefall.freebsd.org> To: tt@kyon.de, jh@FreeBSD.org, jh@FreeBSD.org, freebsd-bugs@FreeBSD.org From: jh@FreeBSD.org Cc: Subject: Re: bin/127932: [unionfs] mkdir -p PATH fails if a directory in PATH is on a read-only unionfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2009 18:29:44 -0000 Old Synopsis: [patch] mkdir(1): mkdir -p PATH fails if a directory in PATH is on a read-only fs New Synopsis: [unionfs] mkdir -p PATH fails if a directory in PATH is on a read-only unionfs State-Changed-From-To: feedback->analyzed State-Changed-By: jh State-Changed-When: Thu Nov 5 18:20:45 UTC 2009 State-Changed-Why: Now I see how this can happen with unionfs: unionfs_lookup() returns EROFS for CREATE namei operation when unionfs is mounted as read-only even if the file exists. I consider this a kernel (unionfs) problem and I don't think it's sensible to patch mkdir(1). Responsible-Changed-From-To: jh->freebsd-bugs Responsible-Changed-By: jh Responsible-Changed-When: Thu Nov 5 18:20:45 UTC 2009 Responsible-Changed-Why: Back to pool. http://www.freebsd.org/cgi/query-pr.cgi?pr=127932