www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/02/20/12:10:12

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 51KHACdF347903
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 51KHACdF347903
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=eke/EZQl
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7E1CF3858424
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1740071411;
bh=TPLqphv/wAFbTkV4EXzpFYex+8inDINs1D4AYnu8EG0=;
h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=eke/EZQlBJ7/zhp08D2I0HszNlLEpLB8UkS7if1PLl0kV4HvahiAF29GhzA9mp6/G
pwfz/rcCwohBU3oEyepcxpm5NnJZw+dfbqCd8w8CPwomB8lMrCZlnLQ/iUv/cs6A0R
wv2OToxiIU21+mlq6OSEWP6okcyZH68XMp+Wea1I=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 236FB385840F
Date: Thu, 20 Feb 2025 18:02:55 +0100
To: cygwin AT cygwin DOT com
Subject: Re: [regression-3.6] coreutils mkdir broken on UNC paths
Message-ID: <Z7dgP35hc_jd_dK7@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CALXu0UdHbasuyBiVZveyvJ1+K168QKBu0wn_cEVG8z+zfqQQeg AT mail DOT gmail DOT com>
<CAPJSo4XR+vG=RLrOwdo=TsVhLj+qRhDdu0CFrnDZn4Z0oSoqhQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAPJSo4XR+vG=RLrOwdo=TsVhLj+qRhDdu0CFrnDZn4Z0oSoqhQ@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 51KHACdF347903

On Feb 20 17:37, Lionel Cons via Cygwin wrote:
> On Thu, 20 Feb 2025 at 14:56, Cedric Blancher via Cygwin
> <cygwin AT cygwin DOT com> wrote:
> >
> > Good afternoon!
> >
> > Cygwin 3.6.0-0.378.g78fb13d21f4f.x86_64, Cygwin coreutils package 9.6-1
> >
> > coreutils mkdir is broken on UNC paths:
> >
> > mkdir -p -- "//ember.data4.local/afs/disk11/builds/bash/install_root/usr/local/bin"
> > mkdir: cannot create directory ‘//ember.data4.local’: Read-only file system
> >
> > This happens because you cannot do a "cd .." in
> > //ember.data4.local/afs, because "afs" is the UNC prefix for that
> > filesystem.
> 
> No, it happens because mkdir "//ember.data4.local" returns "Read-only
> file system". If Cygwin would just return EEXIST if this mount exists,
> then this whole mkdir -p would work.

You know exactly what Cygwin is doing wrong, great!  I'm looking
forward to your git-formatted patch on cygwin-patches.  I'm already
pretty curious of the actual cause of the problem.


Corinna

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019