IRCCloud denials accessing files in ~/snap/irccloud-desktop/7


#1

I just spotted these denials which appear to be for access that should be allowed according to the English description of allowed writable directories, but are being blocked anyway.

= AppArmor =
Time: Jan 18 12:47:26
Log: apparmor="DENIED" operation="truncate" profile="snap.irccloud-desktop.irccloud-desktop" name="/home/dllewellyn/snap/irccloud-desktop/7/.config/IRCCloud/Cache/data_1" pid=22770 comm="Chrome_CacheThr" requested_mask="w" denied_mask="w" fsuid=1000 ouid=1000
File: /home/dllewellyn/snap/irccloud-desktop/7/.config/IRCCloud/Cache/data_1 (write)
Suggestion:
* adjust program to write to $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON

= AppArmor =
Time: Jan 18 12:47:55
Log: apparmor="DENIED" operation="open" profile="snap.irccloud-desktop.irccloud-desktop" name="/home/dllewellyn/snap/irccloud-desktop/7/.config/IRCCloud/Cookies-journal" pid=22770 comm="BrowserBlocking" requested_mask="wc" denied_mask="wc" fsuid=1000 ouid=1000
File: /home/dllewellyn/snap/irccloud-desktop/7/.config/IRCCloud/Cookies-journal (write)
Suggestion:
* adjust program to write to $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON

#2

I suspect that the snap was refreshed while it was running. If so, this is: https://bugs.launchpad.net/snapd/+bug/1616650 and Bug? Saves are blocked to $SNAP_USER_DATA if snap updates when it is already running