bug#41001: mkdir: cannot create directory ‘test’: File exists

2020-05-05 Thread Jonny Grant
On 04/05/2020 20:32, Bob Proulx wrote: Jonny Grant wrote: Paul Eggert wrote: Jonny Grant wrote: Is a more accurate strerror considered unreliable? Current: mkdir: cannot create directory ‘test’: File exists Proposed: mkdir: cannot create directory ‘test’: Is a directory I don't

bug#41001: mkdir: cannot create directory ‘test’: File exists

2020-05-05 Thread Eric Blake
On 5/5/20 1:36 PM, Jonny Grant wrote: Okay.  That's confusing.  The only value in hand being EEXIST then that is the error to be reported.  If this were repeated many times then sometimes we would catch it as an actual directory.    lstat("foodir1", 0x7ffcafc12800)   = -1 ENOENT (No such

bug#41001: mkdir: cannot create directory ‘test’: File exists

2020-05-05 Thread Bob Proulx
taehwan jeoung wrote: > Can this error message be clarified? The directory already exists, it is > not a file. That is incorrect. Directories are files. FIFOs are files. Device nodes are files. Symlinks are files. Network sockets are files. They are all files. Therefore it is not incorrect

bug#41001: mkdir: cannot create directory ‘test’: File exists

2020-05-05 Thread taehwan jeoung via GNU coreutils Bug Reports
Stupid.mkdir -r test.mkdir test.Read your gnu manual to solve your digital illiteracy. 2020년 5월 2일 토요일 오전 12시 17분 45초 GMT+9, Jonny Grant 작성: Hello! Can this error message be clarified? The directory already exists, it is not a file. lib/mkdir-p.c:200 contains this line of code that