From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x2d.google.com (mail-oa1-x2d.google.com [IPv6:2001:4860:4864:20::2d]) by sourceware.org (Postfix) with ESMTPS id 1A1D93857004; Mon, 7 Aug 2023 21:14:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1A1D93857004 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oa1-x2d.google.com with SMTP id 586e51a60fabf-1a28de15c8aso3819983fac.2; Mon, 07 Aug 2023 14:14:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691442896; x=1692047696; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=RhjkDe1u2e3rqrRGuBYi9swPCxpVKNL2RUTV+r75GxY=; b=TIrCjVLAkDeEApQLIGV8RMpmuO7/XyMtTfjZKnqZIEqTh+JnTI66Z97/44b7xfug1h MrJU8ZSv4fW9aP7H/EtfUrzNPISfHt8na5wBexqoc7w2YGaDmnIdxWUt5B3nWLuI4mCf IeKPV7R8Qbft2Y2D1NkG5ViVSzoGrLHkQPoU0xSKHJ0yTcOSPEwRPHSvQQOOMS/tBhTG L9xHHIAnIkSkwvJmulNOgDTG4UdXapuEL43wXA14DqE8y5n6JoqdjUpM5E3SHd+nNhfb +HvCOQZAyWfiIAM39anV9Ex0BN8Tskezwu9C/hxY4J+TSVteVdCvtM6Cn5AJCbkmJjfx YzMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691442896; x=1692047696; h=content-transfer-encoding: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=RhjkDe1u2e3rqrRGuBYi9swPCxpVKNL2RUTV+r75GxY=; b=BVMCD3a7auKrPTJa2id9xweNNAjtcjAnCvYC2zN3cuzVbzIzxXQH7MhHwA+NemZOoH EXOI68nxq2vbhbpF/IpcVKMVUL0mXLlj1fAF6NLGOZ0+ozucXwnsz9f7tEgwF1Ph3sDJ 9Xr5+TloLqxuoRCDHNp7zyJQGZlmD6L7YA0i9zvfBpP9dF4lfDEQhUL/ln55Utt5Xo4W U9f7quoFbgs8+jjXrsX0Mi21+TMXsBl7wtOAeue6S/Uuk4d2R2quBEZZ+yQ8bI1ZtunD HFFBUuwBv8iZ8zZAbowkwZobXr12YXxqAEKzBJItHglvREX/49JpTl+Rfvn8FTxsOIp8 CJPw== X-Gm-Message-State: AOJu0YyuDTz07aeiNfTFUMnYFLmA/sIs8cT0Ud70K4Q3d5qpGx5WCYVO Q8jbaoxePdzZ+2xvUG5TS2uf10ps5zGQsTc6GQYhvsJDU4oJ0w== X-Google-Smtp-Source: AGHT+IGLLHjxMDYCUKsS2m431A9bVwd6Vweu1F6PcUXBumAXx1LPvDsF/wTqGCBi46pIcJmduDbB91EX6RzlN43FnA8= X-Received: by 2002:a05:6870:4726:b0:1be:f311:4a2b with SMTP id b38-20020a056870472600b001bef3114a2bmr12409175oaq.24.1691442896156; Mon, 07 Aug 2023 14:14:56 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Martin Wege Date: Mon, 7 Aug 2023 23:14:43 +0200 Message-ID: Subject: Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory To: cygwin@cygwin.com, Brian Inglis , Martin Wege , Corinna Vinschen Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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,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 List-Id: On Mon, Aug 7, 2023 at 9:14=E2=80=AFPM Corinna Vinschen 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=3Dnewlib-cygwin.git;a=3Dcommit;h=3Db56b4d7fd85b First, Can I download a beta of 3.4.8, or any other version with that fix? It's pretty urgent Secondly, how are fifos, other device nodes and mknod implemented? You encode them as softlinks on ntfs? What about Windows native NFSv3 driver, do you use native mknod then to create a fifo? Where can I find the code in cygwin for that? Thanks, Martin