I’m making my first snap. I have an app that reads from some files and periodically writes information back into them. I was able to snap the dependent files and run the program, but it does not write back. Through research, I’ve discovered that this is a security measure snap takes.
What is the best practice for my use case? Is there some place in the snap that I’m allowed to write to files, should I be storing these dependent files differently, or should I be disabling the feature?
Thanks, that’s what I was looking for. It seems I should be using $SNAP_COMMON. How would I go about getting those files into $SNAP_COMMON on installation? I’ve been trying something like this, but it hasn’t worked: