From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from n5.nabble.com (n5.nabble.com [162.253.133.81]) by sourceware.org (Postfix) with ESMTP id AD7333870865 for ; Thu, 28 May 2020 17:31:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AD7333870865 Authentication-Results: sourceware.org; dmarc=fail (p=quarantine dis=none) header.from=office.targem.ru Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=ed@office.targem.ru Received: from n5.nabble.com (localhost [127.0.0.1]) by n5.nabble.com (Postfix) with ESMTP id C879B192B5896 for ; Thu, 28 May 2020 10:31:18 -0700 (MST) Date: Thu, 28 May 2020 10:31:18 -0700 (MST) From: yoshi kakbudto To: cygwin@cygwin.com Message-ID: <1590687078818-0.post@n5.nabble.com> In-Reply-To: References: <1562427636.19173685.1590653523730.JavaMail.zimbra@office.targem.ru> Subject: Re: Seems like a bug with mkfifo -m MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, KAM_DMARC_QUARANTINE, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_FAIL, SPF_HELO_PASS, TXREP, URI_HEX autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2020 17:31:29 -0000 you say 'ls' is a problem source. Then i have to be more specific with the problem to not miss any other possible problems around it. My use case is this: I have an ssh rsa keys dynamically loaded in environment variables. Those variables then expaned and piped to the named pipe and then the pipe instantly read by ssh-add. I know there could be other ways to ssh-add from environment, but its just our specifics. So the actual commands looks like this: $ mkfifo -m 0600 somefifo # The KEY contains ssh rsa private key data $ echo $KEY > somefifo | ssh-add somefifo @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: UNPROTECTED PRIVATE KEY FILE! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ Permissions 0644 for 'somefifo' are too open. It is required that your private key files are NOT accessible by others. This private key will be ignored. -- Sent from: http://cygwin.1069669.n5.nabble.com/Cygwin-list-f3.html