delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/08/08/04:21:05

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1C4BC3858C54
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1691482864;
bh=FoNTX2i8empckMU8GgxVi47paOxD68GznIlOEu9GOc8=;
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=yy/r0V2JoJYEMi79XZz29uzY2/1qlqE3NAySmPsMtJwGzdZt4gOyQxu9YaNipc1w6
fxhutRdEOTcC3odNQ+NB0eMSODpGNm+KsRn2UJc4KLr4hEADgxxTfiE5MdRw2C8d6q
I3gRBOFAsBv+hRnGFbvQNt/sVdUNzLHoGnCzfJ2k=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8699C3858D33
Date: Tue, 8 Aug 2023 10:20:42 +0200
To: Martin Wege <martin DOT l DOT wege AT gmail DOT com>
Subject: Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory
Message-ID: <ZNH62q/fs9Lt78dD@calimero.vinschen.de>
Mail-Followup-To: Martin Wege <martin DOT l DOT wege AT gmail DOT com>, cygwin AT cygwin DOT com,
Brian Inglis <Brian DOT Inglis AT shaw DOT ca>
References: <CANH4o6O-8O-iMaHowDuy0y7H=pVfZ-3EvubDmTdjGVSST8FkAQ AT mail DOT gmail DOT com>
<c8daacfa-b441-ebbb-90da-03318080479c AT Shaw DOT ca>
<ZNFCjtiVOhpRYhHI AT calimero DOT vinschen DOT de>
<CANH4o6P2fBmxvOZKVrrxDuMByHEMgs2qg14p710aUuLsFYG4rA AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CANH4o6P2fBmxvOZKVrrxDuMByHEMgs2qg14p710aUuLsFYG4rA@mail.gmail.com>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>, cygwin AT cygwin DOT com,
Brian Inglis <Brian DOT Inglis AT shaw DOT ca>
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 3788L44o005935

On Aug  7 23:14, Martin Wege via Cygwin wrote:
> On Mon, Aug 7, 2023 at 9:14 PM Corinna Vinschen
> <corinna-cygwin AT cygwin DOT com> wrote:
> >
> > On Aug  7 12:26, Brian Inglis via Cygwin wrote:
> > > On 2023-08-07 08:42, Martin Wege via Cygwin wrote:
> > > > We get a weird mkfifo failure in Cygwin on NTFS:
> > > >
> > > > /usr/bin/mkfifo -m 600 x.fifo
> > > > mkfifo: cannot set permissions of 'x.fifo': Not a directory
> > >
> > > This error is also reproducible with default fifo permissions 666 or
> > > anything else, and appears to be returned by gen_full_path_at() in
> > > syscalls.cc when called with a fifo:
> >
> > This will be fixed in 3.4.8,
> 
> Thank you
> 
> > see
> > https://cygwin.com/git/?p=newlib-cygwin.git;a=commit;h=b56b4d7fd85b
> 
> First, Can I download a beta of  3.4.8, or any other version with that
> fix? It's pretty urgent

You can install a test release of Cygwin, simply by using the setup tool
These test releases are always created from the git main branch, though,
so they are always test releases of the next major version, currently
3.5.0.

> Secondly, how are fifos, other device nodes and mknod implemented? You
> encode them as softlinks on ntfs?

Not only on NTFS.  FIFOs on the disk are always created as symlinks
with a special target string, recognized by Cygwin.  No differece on
NFS.  Microsoft NFSv3 has no way to specify creating a "real" FIFO
on the remote filesystem.  It wouldn't make sense anyway, because
there's no way to share the FIFO across systems.


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