Dears,
I’m creating a snap utility which need to write data to files in sysfs, for example, /sys/module/firmware_class/parameters/path
.
I’ve added and connected plug hardware-observe
in my snapcraft.yaml
(the auto-connect interface was approved on Auto-connection request: quectel-firmware-switch). But when running the snap, the daemon program in it always fails with 'Permission denied'
in journalctl
log. However, the snap works in devmode
and classic
mode from local installation.
Do I have to use classic
confinement for my utility in this case? Thanks for your help in advance.