Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A64 => Topic started by: mossroy on January 03, 2021, 04:48:17 PM

Title: ping: socket: Operation not permitted for non-root users
Post by: mossroy on January 03, 2021, 04:48:17 PM
On mainline images provided by Olimex, a standard user can not use the ping command : it always ends up with the following message :
Quoteping: socket: Operation not permitted

Running the same ping command as root (or with sudo) works as expected.

I had mentioned this problem in June 2020 :
https://olimex.wordpress.com/2020/04/21/olimage-mainline-linux-images-building-script-for-all-of-our-olinuxino-and-som-boards/#comment-41541

and got this answer from Olimex a few days later :
Quoteour developers work on this, there will be fix soon

Well, this problem is still there with latest images from Olimex (currently A64-OLinuXino-buster-minimal-20201217-194545.img)
The workaround mentioned in https://github.com/MichaIng/DietPi/issues/1012 seems to work
Title: Re: ping: socket: Operation not permitted for non-root users
Post by: LubOlimex on January 06, 2021, 09:12:24 AM
Thanks for this, will be fixed soon