GNU bug report logs - #42804
mkdir saying it can't create folder although it created it

Previous Next

Package: coreutils;

Reported by: Nick Levinson <nick_levinson <at> yahoo.com>

Date: Mon, 10 Aug 2020 19:15:02 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 42804 in the body.
You can then email your comments to 42804 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#42804; Package coreutils. (Mon, 10 Aug 2020 19:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nick Levinson <nick_levinson <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 10 Aug 2020 19:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nick Levinson <nick_levinson <at> yahoo.com>
To: "bug-coreutils <at> gnu.org" <bug-coreutils <at> gnu.org>
Subject: mkdir saying it can't create folder although it created it
Date: Mon, 10 Aug 2020 18:48:44 +0000 (UTC)
[Message part 1 (text/plain, inline)]
When I use mkdir, when it succeeds sometimes it has no message, which is acceptable, but sometimes it says this:

mkdir: cannot create directory '<folder-name>': File exists
But the directory didn't exist before I used mkdir to make it, and I show hidden files, thus also hidden directories.
I suggest the message be clarified or corrected.
Thank you.
-- Nick
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#42804; Package coreutils. (Mon, 10 Aug 2020 19:43:01 GMT) Full text and rfc822 format available.

Message #8 received at 42804 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Nick Levinson <nick_levinson <at> yahoo.com>
Cc: 42804 <at> debbugs.gnu.org
Subject: Re: bug#42804: mkdir saying it can't create folder although it
 created it
Date: Mon, 10 Aug 2020 12:42:06 -0700
On 8/10/20 11:48 AM, Nick Levinson via GNU coreutils Bug Reports wrote:
> When I use mkdir, when it succeeds sometimes it has no message, which is acceptable, but sometimes it says this:
> 
> mkdir: cannot create directory '<folder-name>': File exists
> But the directory didn't exist before I used mkdir to make it, and I show hidden files, thus also hidden directories.

Unfortunately I do not understand this bug report. I don't get the connection 
between the diagnostic and hidden directories.

Can you give an example transcript of the bug and explain it a bit more? Thanks.




Information forwarded to bug-coreutils <at> gnu.org:
bug#42804; Package coreutils. (Wed, 12 Aug 2020 06:51:03 GMT) Full text and rfc822 format available.

Message #11 received at 42804 <at> debbugs.gnu.org (full text, mbox):

From: Nick Levinson <nick_levinson <at> yahoo.com>
To: "42804 <at> debbugs.gnu.org" <42804 <at> debbugs.gnu.org>
Subject: bug#42804: mkdir saying it can't create folder although it created it
Date: Tue, 11 Aug 2020 22:03:48 +0000 (UTC)
[Message part 1 (text/plain, inline)]
I don't know why my bug report appeared twice with the same bug number, but the version answered by Paul Eggert was incomplete, so I'm not surprised that he didn't understand. To answer: The point about hidden files is that I knew the directory did not exist before I executed mkdir because I can see hidden files and therefore I knew the directory I wanted to create did not exist even among hidden files. Thus, the message is confusing.

I don't know what an example transcript is, even though I Googled the term. I already quoted the response of mkdir under the circumstance. 
Apparently, the problem is intermittent, but I don't know when it occurs and when not. 
-- 
Nick
[Message part 2 (text/html, inline)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#42804; Package coreutils. (Sat, 15 Aug 2020 02:41:01 GMT) Full text and rfc822 format available.

Message #14 received at 42804 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Nick Levinson <nick_levinson <at> yahoo.com>
Cc: 42804 <at> debbugs.gnu.org
Subject: Re: bug#42804: mkdir saying it can't create folder although it
 created it
Date: Fri, 14 Aug 2020 19:40:41 -0700
On 8/11/20 3:03 PM, Nick Levinson via GNU coreutils Bug Reports wrote:

> I don't know what an example transcript is

Ah, I was asking for the output of a shell session (or however you invoked 
'mkdir'). The idea is that we would like to reproduce the bug, and need a recipe 
to do that.

If you're using GNU/Linux, the strace output would be quite helpful, e.g., run 
the shell command:

strace -o tr.txt mkdir foobar

and then send us a copy of the file tr.txt, assuming 'mkdir foobar' fails in the 
way you describe.




Information forwarded to bug-coreutils <at> gnu.org:
bug#42804; Package coreutils. (Mon, 24 Aug 2020 18:49:01 GMT) Full text and rfc822 format available.

Message #17 received at 42804 <at> debbugs.gnu.org (full text, mbox):

From: Nick Levinson <nick_levinson <at> yahoo.com>
To: "42804 <at> debbugs.gnu.org" <42804 <at> debbugs.gnu.org>
Subject: bug#42804: mkdir saying it can't create folder although it created it
Date: Mon, 24 Aug 2020 18:48:45 +0000 (UTC)
[Message part 1 (text/plain, inline)]
I couldn't reproduce the problem anymore, in either Terminal or Konsole (both are CLI terminal emulators), so either it's gone or it's intermittent. We can treat this bug as closed unless and until I make a new version of this report. I don't know of a difference in circumstances unless it's that Fedora 32 Linux has had updates in between. Even though I don't recall an update being to either emulator, it's possible. Thanks.
[Message part 2 (text/html, inline)]

bug closed, send any further explanations to 42804 <at> debbugs.gnu.org and Nick Levinson <nick_levinson <at> yahoo.com> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Tue, 25 Aug 2020 00:06:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 22 Sep 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 275 days ago.

Previous Next


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