sorry for the previous comment, I tested wrongly, it seems to work but ironically to updated value is reflected outside of the snap but not in the snap (the session session writes in the db which is in the real user directory and not in the private snap one, where the snap confined binary is trying to read from then...)
sorry for the previous comment, I tested wrongly, it seems to work but ironically to updated value is reflected outside of the snap but not in the snap (the session session writes in the db which is in the real user directory and not in the private snap one, where the snap confined binary is trying to read from then...)