I have a problem with snap. For example when I try to run firefox I have this error :
pc:~$ firefox
cannot open /tmp/snap-private-tmp: Permission denied
When I look the log I have :
kernel: audit: type=1400 audit: apparmor="DENIED" operation="capable" profile="/usr/lib/snapd/snap-confine" pid=16346 comm="snap-confine" capability=12 capname="net_admin"
kernel: audit: type=1400 audit: apparmor="DENIED" operation="open" profile="/usr/lib/snapd/snap-confine" name="/tmp/snap-private-tmp/" pid=16346 comm="snap-confine" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
What needs to be done to make firefox run and fix snap?