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: Mail-Followup-To: cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit 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 > 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