Thanks for the response, looking at both interfaces, it is not clear to me, how this would help with the npm usecase, e.g. the tool from:
I can add at least the
removable-media interfaces, but that won’t give access to hidden files / directories under the user home directory. Is there an interface that can be used for this?
personal-files interface with write to
~/.* allow this, assuming that this would be acceptable?
Looking to the npm installation script it will write to either
.config/nvm (the latter if the
XDG_* variables are defined.
Another script I found (and that is probably used as well) is hosted on
This will also fail if only the curl snap is installed, as it will attempt to write in
/tmp/, which is also not allowed by default, and afaik there is no interface available for that.
Open to suggestions to get this fixed, as it will cause confusion with users that use the snap and suddenly have problems with random tools.