From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2090.outbound.protection.outlook.com [40.107.223.90]) by sourceware.org (Postfix) with ESMTPS id F33BA397CF0F for ; Thu, 28 May 2020 17:39:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F33BA397CF0F ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AHcOZ8+r1q+7mQeTR18CgCDfoW3YCEuF4U3kJGkbSynws+vtElTsk/8wytwLeA/Ujtro1n4Z7NaRPvWQ2ijPjiabL38fPlzeWY10JXryQZC8tPU1tI/Gicrk5qOVjnko/ULiYTGcXwRjbIUVpMxho9QbbjoQDY3keHNWdZT3vApV+PW/BSutx/UaRqDEl1o8Zgn1c1vR2Ru6iGPlM1tAb5+NWShGJ68u0QvedyxG4hQo7vSFYbfCv8ex2e8M3IuU5QRClIQ6OnpKMcLUNDOx8WbCo3ylq6teqBuXDsDjDenx0uFalBOrFdjbieNt/olL4EbkhMS2rGLiblRqqYMVhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T7/p+G3oLyMZU4fCBKZelY+tEJ6o9BckgtS/zxQouvk=; b=k3/sxVdyqv+zIdgilvEYrvrASx/hGtXlqLhRvOr3V8bT3w9ZMbQa3e/M15G+CWYPufqWrrwS33JrHOlebQe+HiiAF26pwepeHwEuWTHp7EXnhc/NyWJsaNEOLB/HrlisbejN4Y7venFpG81RSX8xj7i/JG0cYdBC6CgO7ldQFKxquGwVlyuOr5quYbyL+TenjtOPIBSWoyg97WisGdogu0DMko8kjM88v2bS8Y9J8TLn8ZEpmuDRkc9EafmnxI1LhMdIUr6gvY5wxgOJy7E7jC/2H39VPYKoAeR/UTKg8y/SEdfFH6+bKz0CXRYtgrvIdp78Fw86udIRKr36SfKylg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=cornell.edu; dmarc=pass action=none header.from=cornell.edu; dkim=pass header.d=cornell.edu; arc=none Received: from DM6PR04MB6075.namprd04.prod.outlook.com (2603:10b6:5:127::31) by DM6PR04MB6986.namprd04.prod.outlook.com (2603:10b6:5:24f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.17; Thu, 28 May 2020 17:39:23 +0000 Received: from DM6PR04MB6075.namprd04.prod.outlook.com ([fe80::f48b:4e13:94d7:f7c4]) by DM6PR04MB6075.namprd04.prod.outlook.com ([fe80::f48b:4e13:94d7:f7c4%4]) with mapi id 15.20.3021.030; Thu, 28 May 2020 17:39:23 +0000 Subject: Re: Seems like a bug with mkfifo -m To: cygwin@cygwin.com References: <1562427636.19173685.1590653523730.JavaMail.zimbra@office.targem.ru> <1590687078818-0.post@n5.nabble.com> From: Ken Brown Message-ID: <2f43f693-67dc-7211-d2af-3622b4ae98f3@cornell.edu> Date: Thu, 28 May 2020 13:39:20 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.1 In-Reply-To: <1590687078818-0.post@n5.nabble.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: MN2PR19CA0068.namprd19.prod.outlook.com (2603:10b6:208:19b::45) To DM6PR04MB6075.namprd04.prod.outlook.com (2603:10b6:5:127::31) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.0.17] (68.175.129.7) by MN2PR19CA0068.namprd19.prod.outlook.com (2603:10b6:208:19b::45) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3045.18 via Frontend Transport; Thu, 28 May 2020 17:39:22 +0000 X-Originating-IP: [68.175.129.7] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 500ae9a8-b93e-4fa3-df4b-08d8032e0f1d X-MS-TrafficTypeDiagnostic: DM6PR04MB6986: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8882; X-Forefront-PRVS: 0417A3FFD2 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nw3oUM+ODyAF6jnzmzxap6vuv0AO9Fby3dkztsOd0qAVWWfC00BXsu4B6U+2XsE4ULy6NOK4E0PvgUTUmR8iQhuerbXLy6iGDDvbTq8JFUzhL7ttnX7saXzioDv7JJcz+l9VwklPrcFEeEpVwYDlSsZyaU72uL0Hf5lg8NC8KcsjS92M8x7YpeOD4L0qG5BdRteAmDh04LCbNZz1QFwYdjwn1TTuZNlut92mN44is0vUCLjjsJUdlognQH4pNjGb7AejRE9Zn++VrJTDpKTyWvKEO1BMyHQx/JzlP0WLkJBWb+E5JaJTwAIfoawrOmZY+p7/FsLNrDRUBpkxaA4Zp1FfZJSihqIz0hlaxunYvzAR8s0Q6ApPlv3AlZbuwFXR X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR04MB6075.namprd04.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(346002)(136003)(366004)(39860400002)(396003)(8936002)(8676002)(36756003)(31696002)(75432002)(478600001)(86362001)(6916009)(66946007)(83380400001)(66476007)(66556008)(5660300002)(31686004)(2616005)(956004)(6486002)(53546011)(316002)(186003)(786003)(52116002)(2906002)(16576012)(26005)(16526019)(43740500002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData: SXNkGEtrs7ZAjAzTUjGl4X7U7+7BKJnXDx7LqAf/aLD87Gp1E/dUKk35Q4TOe1C/2vxuFoOGm1tNtKUkeofl7ht+4yyzrF/lMWl3eQaPQDqxUigmxTGNu+LyJesafi96phiTacbe1AFHo768vB1+cnSrC7IFNWB+8PRKaj87BpyFMiGLbq+0OML77K+Sx8k3S0tAldPfcadPtk+pnfPpGKFyhp6DHwcvNEKJHoHOAsSUefgc5u5Zx8o/lwxCYnSJr+MbwXPZylhS+VuwkeFDzREH9cMb2KoFHxXOZMa33oh+E/7BjZ0OS2Rk3y+mbtSmuMQFmoU465xTmpppQPnGsCGKR1MFvMjZB4EU+NlZtTvMrvAi2XK2IhU36pFSx8qwxIkfUTo/nm8aeW7QJ0FH4gKOR790sYkcarSpDMf5lj4jwV67xoLb5DypbgRPT+0C1Qq+KhO4AV6/qfPaf2CPzzOaNQAJkKJv5L0hLOosp0g= X-OriginatorOrg: cornell.edu X-MS-Exchange-CrossTenant-Network-Message-Id: 500ae9a8-b93e-4fa3-df4b-08d8032e0f1d X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 May 2020 17:39:23.0709 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 5d7e4366-1b9b-45cf-8e79-b14b27df46e1 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 7DjhTXHauo682AriRGoxpqY38vxvvqMg2JuS4eMeLLVr4VNjwptwfiwi0s9dNJnqCg+nl0N5IdEfyzv4iGV0qg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR04MB6986 X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, MSGID_FROM_MTA_HEADER, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, 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@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:39:25 -0000 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. Ken