GNU bug report logs - #79072
install -d onto readonly fs prints the wrong error

Previous Next

Package: coreutils;

Reported by: Lauri Tirkkonen <lauri <at> hacktheplanet.fi>

Date: Tue, 22 Jul 2025 05:20:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: 79072 <at> debbugs.gnu.org, eggert <at> cs.ucla.edu, lauri <at> hacktheplanet.fi
Subject: bug#79072: install -d onto readonly fs prints the wrong error
Date: Tue, 22 Jul 2025 21:27:44 +0100
[Message part 1 (text/plain, inline)]
On 22/07/2025 20:17, Paul Eggert wrote:
> Thanks for reporting that inaccurate diagnostic. Sorry about the tricky
> code; it's a tricky situation. Looks like Collin's patch is not quite right.
> 
> I installed the attached patches into Gnulib. The first one fixes the
> two cases you mentioned, the second an unlikely bug I discovered in the
> neighborhood. Please give the patches a try. As they fix the bugs for me
> I am boldly closing the Coreutils bug report; we can reopen it if I'm wrong.

Seems to work with the attached coreutils patch
to add NEWS and a test.

thanks!
Padraig
[install-d-diag.patch (text/x-patch, attachment)]

This bug report was last modified 29 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.