🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.kernel
Article #436

Bug#1153147: NFS client: mkdir on existing, uncached dir returns EROFS instead of EEXIST under ro bind mount

#436
From: Bastian Blank
Date: Fri, 06 Nov 2026 09:40
13 lines
2240 bytes
On Fri, Nov 06, 2026 at 10:05:16AM +0100, Marco wrote:
> I believe this behaviour is not intended. Reported upstream:

I would say this is incorrect use of mkdir.  Both errors are correct and
there is no order of errors defined.

Use stat if you want to know if something exists.

Bastian

-- 
Insults are effective only where emotion is present.
		-- Spock, "Who Mourns for Adonais?"  stardate 3468.1
Technical Details
Message-ID: <NWoAp-aaai-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NWoh3-aa3h-1@gated-at.bofh.it> <NWoh3-aa3h-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Bastian Blank <waldi@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.kernel
Subject: Bug#1153147: NFS client: mkdir on existing, uncached dir returns EROFS instead of EEXIST under ro bind mount
Date: Fri, 06 Nov 2026 10:40:01 +0100
Message-ID: <NWoAp-aaai-5@gated-at.bofh.it>
References: <NWoh3-aa3h-1@gated-at.bofh.it> <NWoh3-aa3h-1@gated-at.bofh.it>
X-Original-To: Marco <lists@homerow.info>, 1153147@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov  6 09:31:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Bastian Blank <waldi@debian.org>, 1153147@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-kernel@lists.debian.org
X-Debian-Pr-Message: followup 1153147
X-Debian-Pr-Package: src:linux
X-Debian-Pr-Source: linux
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000926
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 13
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 6 Nov 2026 10:28:34 +0100
X-Original-Message-ID: <eutp3tlozrpcio7rtnh7ctiqkymv4gsvvd4icjgf2xlzqf3rfk@zkse52jgprri>
X-Original-References: <20261106100516.55f3ec74@homerow> <20261106100516.55f3ec74@homerow>