X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 AT office DOT targem DOT ru Date: Thu, 28 May 2020 10:31:18 -0700 (MST) From: yoshi kakbudto To: cygwin AT cygwin DOT com Message-ID: <1590687078818-0.post@n5.nabble.com> In-Reply-To: References: <1562427636 DOT 19173685 DOT 1590653523730 DOT JavaMail DOT zimbra AT office DOT targem DOT ru> Subject: Re: Seems like a bug with mkfifo -m MIME-Version: 1.0 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 AT cygwin DOT 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" 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 -- 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