X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT 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: In-Reply-To: Date: Sat, 26 Aug 2023 13:26:33 +0200 Message-ID: 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 AT cygwin DOT com Cc: Corinna Vinschen 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Cedric Blancher via Cygwin Reply-To: Cedric Blancher Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" On Fri, 25 Aug 2023 at 14:26, Corinna Vinschen via Cygwin 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 [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