delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org BFB27385842B |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1691432852; | |
bh=8jss759ZFfBtetfklxscE+nh6LDpWrTDd9A50XJy8IU=; | |
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: | |
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | |
From; | |
b=AfYruiAr3ltAFB674+ep9+9FBt/Ojzxef9bbjxxi8aJujhnxCPA6f0RKkzJj8dXV4 | |
8t78d7K3VWxK1URHxyjGAp0gMmJV3xChAkC/OvT+PrKgcLDESfhNNl7i+OYSdVFVkV | |
WNpCvN20QoIzeFWdJcVZUnrOHWZD1XM2JD0l3AWs= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org EE8D33858D28 |
X-Authority-Analysis: | v=2.4 cv=J8G5USrS c=1 sm=1 tr=0 ts=64d1376e |
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17 | |
a=r77TgQKjGQsHNAKrUKIA:9 a=_IjqjsA8YL4Wng0v1uIA:9 a=QEXdDO2ut3YA:10 | |
a=eBVNqMVK4VhD4oroE1YA:9 a=ITdVHhY7-e0A:10 | |
Message-ID: | <c8daacfa-b441-ebbb-90da-03318080479c@Shaw.ca> |
Date: | Mon, 7 Aug 2023 12:26:53 -0600 |
MIME-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 |
Thunderbird/102.14.0 | |
Subject: | Re: mkfifo: cannot set permissions of 'x.fifo': Not a directory |
To: | cygwin AT cygwin DOT com |
References: | <CANH4o6O-8O-iMaHowDuy0y7H=pVfZ-3EvubDmTdjGVSST8FkAQ AT mail DOT gmail DOT com> |
Organization: | Inglis |
In-Reply-To: | <CANH4o6O-8O-iMaHowDuy0y7H=pVfZ-3EvubDmTdjGVSST8FkAQ@mail.gmail.com> |
X-CMAE-Envelope: | MS4xfE+CDZItpVPBWguBRGki3yFs1Hp7p2m7JJ1PI341Dxqe7NE2Uwtpdc7prGoEHutlbN9tKvU+uMmr4D75j+t15o7SRTSlnbpGEB7A5GE/B3CPOKLUSnhr |
9pEnzy/nq4WUaE9RbK3l+85tpZ+/iGK8o3A6Ekj4z9rBMVg391a5xbqgj5x+AI8lSEVSCkcWvF0Ih4WBr3CrMZJB4Lrx54XB+u09yN9PS0h3JKPY6amo0R+o | |
X-Spam-Status: | No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, |
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, | |
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 <cygwin.cygwin.com> |
List-Unsubscribe: | <https://cygwin.com/mailman/options/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> | |
List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
From: | Brian Inglis via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>, Martin Wege <martin DOT l DOT wege AT gmail DOT com> |
Errors-To: | cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com |
Sender: | "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> |
This is a multi-part message in MIME format. --------------8P2k9TNss0iTqbUWUQC0W1IE Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: see attached strace extract - underlying Windows file is Windows shortcut x.fifo.lnk. > Is there a known workaround? So far named fifos cannot be created somehow. For now, create with default permissions then chmod: $ mkfifo x.fifo && chmod 600 x.fifo mode of 'x.fifo' changed from 0666 (rw-rw-rw-) to 0600 (rw-------) $ ls -glo x.fifo{,.lnk} prw------- 1 0 Aug 7 12:07 x.fifo prw------- 1 0 Aug 7 12:07 x.fifo.lnk $ readshortcut -af x.fifo Target: /usr/src/ Working Directory: /usr/src/ Arguments: Show Command: Normal Icon Library: /usr/src/ Icon Library Offset: 0 Description: :\0:c4:1180 -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry --------------8P2k9TNss0iTqbUWUQC0W1IE Content-Type: text/plain; charset=UTF-8; name="mkfifo-m666.strace.log" Content-Disposition: attachment; filename="mkfifo-m666.strace.log" Content-Transfer-Encoding: base64 b3Blbjogb3Blbih4LmZpZm8sIDB4MjE0MDAwMCkKbm9ybWFsaXplX3Bvc2l4X3BhdGg6IHNy YyB4LmZpZm8KY3dkc3R1ZmY6OmdldDogcG9zaXggL3Vzci9zcmMKY3dkc3R1ZmY6OmdldDog KC91c3Ivc3JjKSA9IGN3ZHN0dWZmOjpnZXQg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sX3BhdGhfYXQoY2hhciosIGludCwgY29uc3QgY2hhciosIGJvb2wpOjQ0NDUgc2V0dGlu ZyBlcnJubyAyMApjbG9zZTogY2xvc2UoMykKZmhhbmRsZXJfYmFzZTo6Y2xvc2U6IGNsb3Np bmcgJy91c3Ivc3JjL3guZmlmbycgaGFuZGxlIDB4MUY4CmNsb3NlOiAwID0gY2xvc2UoMykK --------------8P2k9TNss0iTqbUWUQC0W1IE Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- 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 --------------8P2k9TNss0iTqbUWUQC0W1IE--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |