X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 593353858C53
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1693049247;
	bh=T65bUzx8GVQNOY9cVihNFyCwVtfvucD/Up7DstNB7QI=;
	h=References:In-Reply-To:Date:Subject:To:Cc:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 From:Reply-To:From;
	b=RriDRazIXgzoSlP+2FlsWnYsfhYkKJDYED4PL8TKi+E36j25rycEEHLFU74OIsVCO
	 ARa1R2DD+oqeLEUq/NIUqBv+PmbBdnETPXA9Xio8nsVAHHnWxm42iWz3oTNKsEhJpt
	 rSQRzlBgQPNGOOTmQ2GUT2k9c8LjEasBl75W4XLc=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A32ED3858C53
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1693049230; x=1693654030;
 h=cc:to:subject:message-id:date:from:in-reply-to:references
 :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=HxHpbLd5XjHfXDbsY+ilsC1NaloOBx5Efnchr9lJBY4=;
 b=O23/1ZHEOBsPKbZ7l8sVjZvbgBfUxyeMSmpEkgnowmczP6XqZYqb7WsKd2oquvtSm5
 YRsELSlSwu8Qn1VkJHueANqctqcRtbrYSxUtxn+cXvFOHxB3zfSCj/1qwgMHRdn+yZBu
 aMEMQXT5fr5Qg/Edf0YPTpbpz9DUzPhUz9zj35K6Bz0nsCR9x9En7wLQB5IJigWzd9hd
 B4meo8UP0Y1cp9AdK/oOpsknGoHof3fsgRgYyO6hIcC4FUW8UCCgrAG037RhkwI8EMOK
 uQOt4gtXUaMEOomxwQq/xnf5IE4yDikGKZ9MQ8EJojKn9Pv6R2Q1NQ94uzCt5K4Fohe4
 ysLA==
X-Gm-Message-State: AOJu0YyjQaMTI2Etfenys60wfYGn6T9yDwkrzLMLYkg0ECKTTyQiyiVe
 +rqhteqUbq1opScUOG+Xdi54iF/kec6V21lH9GUA9CtwvrYG+g==
X-Google-Smtp-Source: AGHT+IH2EZcKEJ/eiJgJlOVm4ZfYgHDDXg8MoagXBgxUGMYp8Y7ya789wmSH9eSlxsEozNkZmtxccY6Dohj4wPMA4AY=
X-Received: by 2002:a05:6512:531:b0:500:7cab:efc3 with SMTP id
 o17-20020a056512053100b005007cabefc3mr11664301lfc.11.1693049229562; Sat, 26
 Aug 2023 04:27:09 -0700 (PDT)
MIME-Version: 1.0
References: <CANH4o6O-8O-iMaHowDuy0y7H=pVfZ-3EvubDmTdjGVSST8FkAQ@mail.gmail.com>
 <CANH4o6MnH7gWj7d0vmkhCL5N0BTbkrbtGZGtso43MVZBJLBGtw@mail.gmail.com>
 <ZN8tK/mATx6KbQWk@calimero.vinschen.de>
 <CALXu0UcByeJHfBWSPEZkmfMqSKkmRT_5ZkxLc25EyhJzN9FUtA@mail.gmail.com>
 <ZOMiYcQfb7i8Kc8i@calimero.vinschen.de>
 <DM8PR09MB70950FABA8C4DAD80B0EA189A51FA@DM8PR09MB7095.namprd09.prod.outlook.com>
 <CAKAoaQkPovkZhVVnkDB3wXKdHejqwKmG7vG38rfy2rtjsGV-uQ@mail.gmail.com>
 <ZOicD/nxECrAPnKV@calimero.vinschen.de>
 <ZOid0/VfKaVGHfWb@calimero.vinschen.de>
In-Reply-To: <ZOid0/VfKaVGHfWb@calimero.vinschen.de>
Date: Sat, 26 Aug 2023 13:26:33 +0200
Message-ID: <CALXu0Uf1oCUwpEjynv4qrtLyeH7COmWD5pvBS5TdZ9oVbgpiyA@mail.gmail.com>
Subject: Re: How to fix |mkfifo()| failure if |pathname| is on NFS ? / was:
 Re: [EXTERNAL] Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory
To: cygwin@cygwin.com
Cc: Corinna Vinschen <corinna-cygwin@cygwin.com>
X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
 DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_SHORT,
 RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
 TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Cedric Blancher via Cygwin <cygwin@cygwin.com>
Reply-To: Cedric Blancher <cedric.blancher@gmail.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>

On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin
<cygwin@cygwin.com> wrote:
>
> On Aug 25 14:18, Corinna Vinschen via Cygwin wrote:
> > On Aug 23 01:05, Roland Mainz via Cygwin wrote:
> > > 2. Check whether the filesystem for the fifos path is NFS
> > > (cgywin.dll's |fs.fs_is_nfs()|), and then just refuse |mkfifo()| with
> > > |ENOSYS| (not implemented)
> >
> > I like the idea.
>
> EPERM, btw.  See https://man7.org/linux/man-pages/man2/mknod.2.html
>

I am vehemently opposed to that idea. That will IMHO not only be the
wrong solution, it will break actual things like autoconf&friends on
NFS - they create fifos for testing, but do not use them. If you just
make this return EPERM, then you break stuff we have to rely on.

mkfifo should just work with Cygwin on NFS.

Ced
-- 
Cedric Blancher <cedric.blancher@gmail.com>
[https://plus.google.com/u/0/+CedricBlancher/]
Institute Pasteur

-- 
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
