Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!howland.reston.ans.net!news.nic.surfnet.nl!tuegate.tue.nl!news.win.tue.nl!charm.il.ft.hse.nl!not-for-mail From: robert@il.ft.hse.nl (Robert Klep) Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.misc,comp.unix.questions Subject: Re: Permission denied for a socket Date: 3 Oct 1995 12:08:47 +0100 Organization: M.A.J.I., Project Zeus Lines: 11 Message-ID: <44r5jv$6g@charm.il.ft.hse.nl> References: <44p5o5$ikq@despina.neptune.com> NNTP-Posting-Host: charm.il.ft.hse.nl Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:1041 comp.unix.misc:18621 comp.unix.questions:70169 In article <whatever>, tom@neptune.com (Tom Techoueyres) wrote: >I have a pentium running BSDI. As root I can use the ping command, but >my users get the following message when they try to use ping: >ping: socket: permission denied >Obviously it is a file permission problem but what file or socket? 'ping' tries to create a raw ICMP sockets. For that, it needs to run under setuid root. I suggest you set the file-owner to root, make it executable for group and other, and make it setuid (chmod u+s ping). robert