delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 4 Dec 2009 10:36:45 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: operation not permitted when attempting to ping |
Message-ID: | <20091204093645.GB19994@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <a13b5a590912031635m4b340319mddf3fb1cb04f6207 AT mail DOT gmail DOT com> <4B185DE2 DOT 5040700 AT cygwin DOT com> <a13b5a590912031808g46d2de3dwac49c3e0fbaf9f4a AT mail DOT gmail DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <a13b5a590912031808g46d2de3dwac49c3e0fbaf9f4a@mail.gmail.com> |
User-Agent: | Mutt/1.5.20 (2009-06-14) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Dec 3 21:08, Robert Pendell wrote: > On Thu, Dec 3, 2009 at 7:54 PM, Larry Hall (Cygwin) wrote: > > On 12/03/2009 07:35 PM, Robert Pendell wrote: > >> > >> Whenever I use ping it returns the message socket: Operation not > >> permitted. This only happens if I am not running the shell as an > >> administrator otherwise it works fine.. The windows stock ping > >> command doesn't need admin rights to run. I am running Windows 7 and > >> cygwin 1.7. Attached is my cygcheck output. > > > > Yep. Known issue. Actually, the only reason Cygwin still has its own ping > > is > > some people prefer it over the Windows version (and the complaints against > > it have been low volume). Anyway, this is the long way of saying "That's > > the > > way it works and it's unlikely to change". > > > > Ahh... ok. I dug up an old thread on this. Looks like it is a UAC > thing then. Thanks for the info. It's UAC only indirectly. It's basically the fact that raw sockets as used by ping can only be created by admin users. That's why ping on Linux has the suid-bit set in the permission bits. We still don't support that, unfortunately. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |