delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/25/09:26:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 25 Jun 2010 09:26:33 -0400
Message-ID: <AANLkTimjaMTgIs6TFeKmISkVYW7QEJvBsrYskhF9z4ir@mail.gmail.com>
Subject: Re: ping "Operation not permitted" on Windows 7
From: Stephen Morton <stephen DOT c DOT morton AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

> From: David Arnstein <arnstein AT pobox DOT com>
> To: cygwin AT cygwin DOT com
> Date: Fri, 25 Jun 2010 03:07:54 -0400
> Subject: ping "Operation not permitted" on Windows 7
> Using Windows 7 Professional, cygwin, mintty,and bash. All are up to date.
> I am getting this:
>    $ type ping
>    ping is hashed (/usr/bin/ping)
>    $ ping www.microsoft.com
>    ping: socket: Operation not permitted
>
> If I launch mintty "Run as administrator" from Windows, then no such
> problem occurs.
>
> I have tried re-installing the "ping" package via cygwin setup.exe. No
> improvement.
>
> Output from "cygcheck -s -v -r" attached. Any suggestions?

What we did was to simply delete the cygwin ping and fall back to the
windows ping. Works fine.

Ping uses raw sockets which is something that is probably
understandable that Windows 7 blocks.

Stephen

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

- Raw text -


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