'c' above can also be: 'sudo snap install' There, the install wont complain or fail, but running 'hello' will.
$ sudo snap install hello 2018-10-11T17:54:21Z INFO Waiting for restart... hello 2.10 from 'canonical' installed $ echo $? 0
$ hello cannot create lock directory /run/snapd/lock: Permission denied
'c' above can also be: 'sudo snap install'
There, the install wont complain or fail, but running 'hello' will.
$ sudo snap install hello 11T17:54: 21Z INFO Waiting for restart...
2018-10-
hello 2.10 from 'canonical' installed
$ echo $?
0
$ hello
cannot create lock directory /run/snapd/lock: Permission denied