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 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: <4B185DE2 DOT 5040700 AT cygwin DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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