www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/28/13:40:11

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 83E1E397CF3F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1590687566;
bh=sUd7OBgdjfCPv2UbUxCzlF0E82xpHncUs+HkDtzCGfk=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=htfb7M+vLJulRKmcLrcbX31g9+u0Fza9pFNJwla0EJgUSP8b9Z3BcV88xfHa+mWCe
+5DtTOVYAtuF7ot982rkAAa0z4V9rp0GahHVwOvG/SlMcLOZ5It3uhU66yXEQuYqiU
+3xNHB3KLCKVFkmI8YB7Gu79u9WY2FzUDha+nmGk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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
Subject: Re: Seems like a bug with mkfifo -m
To: cygwin AT cygwin DOT com
References: <1562427636 DOT 19173685 DOT 1590653523730 DOT JavaMail DOT zimbra AT office DOT targem DOT ru>
<c117921e-388a-2ac2-dd95-3d66a6dae5be AT cornell DOT edu>
<1590687078818-0 DOT post AT n5 DOT nabble DOT com>
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>
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
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: <DM6PR04MB6986BEBE8FAB059744E1707CD88E0 AT DM6PR04MB6986 DOT namprd04 DOT prod DOT outlook DOT com>
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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Ken Brown via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Ken Brown <kbrown AT cornell DOT edu>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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
--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019