I’ve got the following snapcraft.yaml:
name: hy-pinger summary: A utility to test networking within a snap description: | Sends pings, hopefully :) version: '1.0' confinement: strict grade: devel base: core20 architectures: - build-on: ['all'] run-on: ['armhf'] # ======================================================================== apps: hy-pinger: command: bin/ping-google plugs: - network - network-bind parts: hy-pinger: plugin: dump source: ./sources/ organize: ping-google: bin/ping-google
with a simple bash script “ping-google”:
#!/bin/bash ping google.com
I’m building it for Raspberry Pi Compute module 3. Builds fine. On the Pi it installs fine, plugs connect fine but when I run hy-pinger from command line I get:
ping: socket: Operation not permitted
Why would that be ?