X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ADA183857C51 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1691523559; bh=l7B2HVatkdlaPzjq1Xs5OLNKO2CelyZErc3xOuAbvf0=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=xxcElrJcyzEb1B0VRyqNfuGfPVqNOUSE3AtA9i8/Z+Rv3dBvzkRt7q6ZIW11d5D1i MXi7xj/9Y26lDolxpC0LuqLWGoB3wRV2+vQuFAriogNQwHsgv9vSX0zKM5MkuTlXfS O3gGeP6WITq9/2rWFhTv0dftOTX32IFHftKQrxCI= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7F6A43858C20 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: 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 AT cygwin DOT com 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 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: Martin Wege via Cygwin Reply-To: Martin Wege Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 378JdK99021092 On Tue, Aug 8, 2023 at 10:20 AM Corinna Vinschen wrote: > > On Aug 7 23:14, Martin Wege via Cygwin wrote: > > On Mon, Aug 7, 2023 at 9:14 PM 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=newlib-cygwin.git;a=commit;h=b56b4d7fd85b > > > > 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 -- 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