From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 75275 invoked by alias); 11 Jul 2018 20:35:48 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 75266 invoked by uid 89); 11 Jul 2018 20:35:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=ten, spite, company, department X-HELO: mail.spocom.com Received: from mail.spocom.com (HELO mail.spocom.com) (206.63.224.240) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 11 Jul 2018 20:35:46 +0000 DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; d=spocom.com; s=mail; h=received:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :in-reply-to:x-operating-system:user-agent; b=nWwWJ789NRctJ7lzHYjlJXgBetMW+gqTccaKF2mEttbMp5EHBxg5T3CdEKY6kVW7W ZpiS8YK3CRtyvq7Ic68CQ== Received: from localhost (174-31-108-179.spkn.qwest.net [174.31.108.179]) by mail.spocom.com with SMTP; Wed, 11 Jul 2018 13:35:21 -0700 Date: Thu, 12 Jul 2018 03:36:00 -0000 From: Gary Johnson To: cygwin@cygwin.com Subject: Re: After installing nc (netcat), nc.exe is not found Message-ID: <20180711203535.GB17823@phoenix> Mail-Followup-To: cygwin@cygwin.com References: <1208626880.20180711224101@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes X-SW-Source: 2018-07/txt/msg00118.txt.bz2 On 2018-07-11, Mark Hansen wrote: > On 7/11/2018 12:41 PM, Andrey Repin wrote: > >Greetings, Mark Hansen! > > > >>I've just updated to the latest Cygwin 64-bit installation on my Windows 7 PC. Included > >>in this update was the package for nc (nc: A simple but powerful network tool) version 1.107-4 > > > >>After downloading and installing, which all seemed to go fine, the man page for nc is there, > >>but nc.exe is not. > > > >>I included the following (netcat-related) packages: > >>- nc, 1.107-4 > >>- nc6, 1.0-1 > >>- nc6-debuginfo, 1.0-1 > > > >>Is there something special I need to do to get nc.exe installed? > > > >Check your antivirus quarantine area. > > > > > > Well, that's certainly one problem. Both nc.exe and nc6.exe were trapped by the corporate virus checker. > The software allowed me to "restore" it, but when I try to run it I get "Permission Denied". > > However, after a few minutes, it's gone again. I'm guessing the virus checker software is doing it. > Unfortunately, it looks like it won't let me create an exception for these executables, so I don't > have any way to stop it from deleting them :( > > ... and I know better than to ask my corporate IT folks to make an exception for me :( I had this problem at another company, but that was something like ten years ago. I think I solved it by either renaming nc.exe to something else, compiling my own Netcat, or using Socat, but I don't remember which approach actually worked. And of course, depending on the company and the IT department, you may want to consider whether using the program in spite of their efforts to prevent you from doing so is worth the risk of termination. Regards, Gary -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple