From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x2a.google.com (mail-oa1-x2a.google.com [IPv6:2001:4860:4864:20::2a]) by sourceware.org (Postfix) with ESMTPS id 7F6A43858C20 for ; Tue, 8 Aug 2023 19:39:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7F6A43858C20 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-x2a.google.com with SMTP id 586e51a60fabf-1a1fa977667so4745886fac.1 for ; Tue, 08 Aug 2023 12:39:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691523542; x=1692128342; 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=7NmBsooebLZHtDPAtjB5fP9/e3OVDHL9on/ilWKVOpI=; b=jUPF3jh6rRvzib7Rswgr3LjnNjUQxGFzsp81NY/Y+xgtQBkZsKeHsHmlTBcG3DtRuU JY6MdPOJ/ccFzR0rTYQTp/XrJvrIamiCwUv/Pw/sRo9mFPrLUAufSm+6SN0arIJyaMXR oJdD3JIVcaZShcTLfn10esVE82TGRzV0slVL+R4Gr4Tj6MfrpncaVaC+p0Bh5+X63BB/ XOhuGxHQuQYY9sjnio3vPXjmx51TkH7apJ3TVNoO5rH1hpniPGEd2R5u2Bs/cU6tzGuJ dbCcRXZ+/WLcXEM3K3MoqL6tnPDXfvmY/FJyxzxS4yIjmBaQ8raZ3KMYSXm6lnn991lv cR1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691523542; x=1692128342; 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=7NmBsooebLZHtDPAtjB5fP9/e3OVDHL9on/ilWKVOpI=; b=hg1RM+q850JXdF3BxU5vJLL5HxSvO0KtwFTOooppuX3Flj64SSiSwOkmqc6GIu6psA uorlXIojKh1eVoG2BNbxbxdC4j5tjoLZ1LxTv4HjcH4iM6hNto9Co5nNiYKXu0r49vMf ceejobSB+4Rk+biDueuEB8hNkLIp22DhyUcDXecmM+f1KdKNmTtAP8ic9ZPkEI9FPFjo WJH8xcXzP433oiId5glxFhWeCnvTBVkat0U4oN47WU1CrZaGEGrIHS5bnEqk5+auYkKB OsboQbg6UeQ2pOwCi1juCnBgfpSJlOmAWMs9BT+6sTqnpmHiGgEFIYnSnHwCj3Mq40uL +E+w== X-Gm-Message-State: AOJu0YwiKmC6Ylhn12BeB/Uhxm6Dg123dPGdxZHKggJs4otzQl+EvW84 Qt9EMu4h4gMCphbBOGTezltcUHULQOuo35aW1zfXsMCy X-Google-Smtp-Source: AGHT+IGGFRPqpaYeMpJ47rLFRZV7Oi3/JTSU8aBUIc+bhB2gQdpv6l84lfSi5o/66IsojmS575vifqqmsb7ZPu32HDM= X-Received: by 2002:a05:6870:a923:b0:1be:f7d8:e7af with SMTP id eq35-20020a056870a92300b001bef7d8e7afmr662988oab.39.1691523542500; Tue, 08 Aug 2023 12:39:02 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Martin Wege Date: Tue, 8 Aug 2023 21:38:51 +0200 Message-ID: Subject: Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.3 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 Tue, Aug 8, 2023 at 10:20=E2=80=AFAM Corinna Vinschen wrote: > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > > 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 o= r > > > > 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=3Db56b4d7f= d85b > > > > First, Can I download a beta of 3.4.8, or any other version with that > > fix? It's pretty urgent > > You can install a test release of Cygwin, simply by using the setup tool > These test releases are always created from the git main branch, though, > so they are always test releases of the next major version, currently > 3.5.0. Where can I download the Setup.exe tool for those test releases? > > > Secondly, how are fifos, other device nodes and mknod implemented? You > > encode them as softlinks on ntfs? > > Not only on NTFS. FIFOs on the disk are always created as symlinks > with a special target string, recognized by Cygwin. No differece on > NFS. Microsoft NFSv3 has no way to specify creating a "real" FIFO > on the remote filesystem. It wouldn't make sense anyway, because > there's no way to share the FIFO across systems. So no Windows ioctl to do a mknod? What does a Linux/FreeBSD FIFO file look like, if you export that filesystem via NFSv3, and mount it via the native Windows NFSv3 driver, and do a ls -l in Cygwin? Thanks, Martin