🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3355

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

#3355
From: Marco
Date: Fri, 06 Nov 2026 10:10
22 lines
2706 bytes
On Fri, 6 Nov 2026 10:28:34 +0100
Bastian Blank <waldi@debian.org> wrote:

> I would say this is incorrect use of mkdir.

So should I file this bug against bubblewrap or flatpak then?

> Both errors are correct

True.

> and there is no order of errors defined.

Yet, the behaviour is inconsistent. A simple “ls” in between the
invocations changes the error type. This feels wrong.

> Use stat if you want to know if something exists.

Seems reasonable.

Marco
Technical Details
Message-ID: <NWp3s-aawn-7@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> <NWoAp-aaai-5@gated-at.bofh.it> <NWoh3-aa3h-1@gated-at.bofh.it> <NWoAp-aaai-5@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: Marco <lists@homerow.info>
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 11:10:02 +0100
Message-ID: <NWp3s-aawn-7@gated-at.bofh.it>
References: <NWoh3-aa3h-1@gated-at.bofh.it> <NWoAp-aaai-5@gated-at.bofh.it> <NWoh3-aa3h-1@gated-at.bofh.it> <NWoAp-aaai-5@gated-at.bofh.it>
X-Original-To: Bastian Blank <waldi@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Fri Nov  6 10:03:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.449
Reply-To: Marco <lists@homerow.info>, 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
X-Yandex-Fwd: 1
Authentication-Results: mail-nwsmtp-smtp-production-main-93; dkim=pass header.i=@homerow.info
X-Mailer: Claws Mail 4.4.0 (GTK 3.24.52; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Greylist: delayed 456 seconds by postgrey-1.37 at buxtehude; Fri, 06 Nov 2026 10:00:48 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000929
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 22
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1153147@bugs.debian.org
X-Original-Date: Fri, 6 Nov 2026 10:52:49 +0100
X-Original-Message-ID: <20261106105249.7ece91ad@homerow>
X-Original-References: <20261106100516.55f3ec74@homerow> <eutp3tlozrpcio7rtnh7ctiqkymv4gsvvd4icjgf2xlzqf3rfk@zkse52jgprri> <20261106100516.55f3ec74@homerow> <eutp3tlozrpcio7rtnh7ctiqkymv4gsvvd4icjgf2xlzqf3rfk@zkse52jgprri>