X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4E6CE3972816 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1590689854; bh=pzER8Iq5QX2r+D9bRA4umtI5fvRFXlpdXr5OIzBNqFo=; h=Date:From:To:Subject:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: Reply-To:From; b=eDhCxVqg2VH6eHTbKCZ1qEKNE2R5A1S5R5IH/gSP4r7XzvMRIWJgxuRmeszddOTjA MqXsPPkSDvgeqgvdDcoALL3T7HAcUJLGnH3I/SBlXN7cuS6OLSemwr0+ZivQ7IUkMx Bj1zD/q1o5ZVA2thvb9gvPSNQlGUNb1R0QR+L14A= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 65E81385DC35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=corinna-cygwin AT cygwin DOT com Date: Thu, 28 May 2020 20:17:29 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Seems like a bug with mkfifo -m Message-ID: <20200528181729.GQ6801@calimero.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com References: <1562427636 DOT 19173685 DOT 1590653523730 DOT JavaMail DOT zimbra AT office DOT targem DOT ru> <1590687078818-0 DOT post AT n5 DOT nabble DOT com> <2f43f693-67dc-7211-d2af-3622b4ae98f3 AT cornell DOT edu> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2f43f693-67dc-7211-d2af-3622b4ae98f3@cornell.edu> X-Provags-ID: V03:K1:R/KtSEHnwBYWWIpW24FyetA31udNKAnUuxDj7ifgLSraLUfyTsu XzaXYTNVZqGq3DcjPifkNeEeULNWudMm1qeOwpTYoT2GLz0gmao3iIkBKLmbPWFQXUZDwNt DoYNN1a7DkPhsbccB2Rdv7+MPDc8lYjjbPm5PR5iX3GPL984Z474pSn4MH39AsMeWu1GafH csSWHESMyEW7xyK8kR+PQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:BmVqVAvyhgM=:6xhq/GhJetGERxLi1VS7eU EEGJPaJICsSrZIQ010ViDs8RtrA/ozAHXDBQsgK6LE00s+uGfabMa5fxHqs2t4Qa9XTeTWk49 sQTEBTUMTsmmhqtQecQUL7vIG8THFDVkIt9YQLapNV4HYX9+Y8W8edwhPzMHLiaWDgutiwuDS g3LeSqPuZJe3wdwMMKLQORgGH2UJxm3zgsk9Mjf22JxOeGioq8Suyxq0IPG5+C7oOG7tWl8++ bieilylR+UEcpc+ckJXNXSN4jXx+CBpcL/Z/IVnzJeNyqM+ELfAZWbMB4DecLNyAA+1vFN86k l3gMBz0GqLitQztykWFPqnkSB/jI+FKNywJgUG61GEI1QnCkUzstfAFCuh9r6Rkb+XtEXYGXU /90KhFQ6F30KMx3ViUKeWRl0z/GZzddrNljn1U7m+7BU7JRVMnKHvPuChI0kIVGab6FOtGHN/ el3gHFV6pNznZDNe6xHlPBAdR23xpimMKf+CH4sLIHTBM8hP0TO8WT90r94hjQfsBkC9O57WF kgM9JOUJekSXbNRzZeMD1d4LNhXYkyxtskUIj/hH3zpJzpabKY+K73bRiu/d/AKLTD9biDIyB gzyGix78McuLRF8hDHbWOsCNjmua1u+YFYoOgiVGZ+zDc01z/sanRQQdXlotdaYfmVQP48d2A jgALvSrE6EmzoTqzt/7Nmk3GDFnlhn3uMAK5TazHuzJN/bpPgn5J1eBk9LvhdB++aAaLMTBPF d4ypKYs8kw6DTdgVlqWnx8gas9KhaEpIkX1t0TjPQTjAzjtV6j0FS97E3yxsk4O7WBAP9vZKE vqTg2Ob/qM8fxLyu3viKKE5Nsl057d7LNe7R6WHlTHkSghedHF3Sj9g/k9Qf4hrcMFZp2AC X-Spam-Status: No, score=-99.0 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, JMQ_SPF_NEUTRAL, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham 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: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" On May 28 13:39, Ken Brown via Cygwin wrote: > On 5/28/2020 1:31 PM, yoshi kakbudto wrote: > > 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. > > Sorry, I shouldn't have said the problem was with ls. The problem was > actually with stat, and it's fixed now. You should be able to test it the > next time Corinna creates a snapshot. Done. Try the latest snapshot from https://cygwin.com/snapshots/ Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer -- 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