From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2155) id A1C433858C53; Sat, 26 Aug 2023 14:15:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A1C433858C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1693059339; bh=NndQBPvEyGbEembtCaSo/QmpngTP506xWeNHl5uWhGA=; h=Date:From:To:Subject:Reply-To:References:In-Reply-To:From; b=DMmEXZ9bRzzB9tgJCB7x9HY90AHFAAeMraM8zfBfpZl9kyUVtNhDeTSeRK4mGG8GV WQ9YkaqBCX8vqUtKs/y7Fqk8HsZladSXfXf2o+yP49Ze4tOZgQr5Nr04gMioepIJtB nST/gdcYnX9eRfYphzxb5MWSRUuzSMlFzmobBmUs= Received: by calimero.vinschen.de (Postfix, from userid 500) id A5232A80CAB; Sat, 26 Aug 2023 16:15:37 +0200 (CEST) Date: Sat, 26 Aug 2023 16:15:37 +0200 From: Corinna Vinschen To: cygwin@cygwin.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 Message-ID: Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: List-Id: On Aug 26 13:26, Cedric Blancher via Cygwin wrote: > 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. https://cygwin.com/acronyms/#STC, please. Corinna