This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: operation not permitted when attempting to ping

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]