GNU bug report logs - #41001
mkdir: cannot create directory ‘test’: File exists

Previous Next

Package: coreutils;

Reported by: Jonny Grant <jg <at> jguk.org>

Date: Fri, 1 May 2020 15:16:01 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jonny Grant <jg <at> jguk.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 41001 <at> debbugs.gnu.org, Eric Blake <eblake <at> redhat.com>
Subject: bug#41001: mkdir: cannot create directory ‘test’: File exists
Date: Sat, 2 May 2020 23:41:43 +0100

On 02/05/2020 20:47, Paul Eggert wrote:
> On 5/2/20 6:26 AM, Jonny Grant wrote:
>> If developers have race conditions in their shell scripts
> 
> I've personally fixed a bug in the GNU mkdir command that was triggered by such
> races. Core utilities should be reliable even when these races are happening.

Is a more accurate strerror considered unreliable?

Current:
mkdir: cannot create directory ‘test’: File exists

Proposed:
mkdir: cannot create directory ‘test’: Is a directory

Cheers, Jonny




This bug report was last modified 5 years and 12 days ago.

Previous Next


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