delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/09/09/17:34:03

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A9CA3858413
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1694295241;
bh=6dxRXhECq6tViUw19amKnlGaQ0qXdojtrtm8f+8hKhA=;
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=WsPa6IMLKbqzxz7sp9uEO4hEGul6HZz9t61mOO+G7qTAQxNzNXD77HX/zqBZ79m7o
uCnA0Kxmwdr1IGcjMQtINjUbvSHHAUUbqH2UoWXGWzbv8GvxAV/OnCfT87cBNmL6aH
4ukhRvQZMBmeOjbN6xXRB/wMeEiPLvxR0W5UfqVo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DED553858D1E
Date: Sat, 9 Sep 2023 23:33:26 +0200
To: cygwin AT cygwin DOT com
Subject: Re: NFS mkfifo support in cygwin 3.5.0
Message-ID: <ZPzkphZ6U931ypcs@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <announce DOT 20230906172530 DOT 526501-1-corinna-cygwin AT cygwin DOT com>
<CANH4o6MSXBxMBsqgtWbNe9rPETNgY-D5QxJO9AsLwe+tm0WkDw AT mail DOT gmail DOT com>
<CALXu0UcRuepZC_jH1+rzqLxDuhCtC4h94wgfVxkBxH9fSDEH7A AT mail DOT gmail DOT com>
<ZPr+mFTvEfYfD+8T AT calimero DOT vinschen DOT de>
<ZPuEmZlxpI9twFNa AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <ZPuEmZlxpI9twFNa@calimero.vinschen.de>
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>

On Sep  8 22:31, Corinna Vinschen via Cygwin wrote:
> On Sep  8 12:59, Corinna Vinschen via Cygwin wrote:
> > On Sep  8 06:48, Cedric Blancher via Cygwin wrote:
> > > So chmod() for a FIFO inode on NFS fails. Tested with MSFT NFSv3 and
> > > new builds of the NFSv4.1 ms-nfs41-client filesystems.
> > 
> > Did you actually test this with 3.4.8?  It never worked on NFS.
> > 
> > Just to be clear, the above creates a Cygwin FIFO.  The situation
> > is different with native FIFOs, created on the host.  With those,
> > chmod worked before because native FIFOs were handled like normal files,
> > except in stat(2).  Now that they are handled as FIFOs, the mechanism
> > to change the file mode doesn't work anymore, because it depends on
> > FIFOs being WIndows shortcuts.
> > 
> > I will look into that at one point, but it's not a regression.
> 
> For the records:
> 
> Fixing this for native FIFOs is relatively easy. Fixing this for Cygwin
> emulated FIFOs is rightout impossible ATM:
> [...]

I found a solution by switching Cygwin FIFOs on NFS from symlinks to
shortcut files.  I disabled symlink FIFOs entirely, so you have to
remove the Cygwin FIFOs you created on NFS in the last days and create
them anew.

The patches are in the test release cygwin 3.5.0-0.432.g5bbe0e56c617
and later.

> I'll be offline for some time now for personal reasons, 

That's definitely true starting right now.


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