It look me about two hours to realize that snap was the problem when I was trying to run Mastodon in a Docker container. That was the last straw before I moved to Fedora.
Snap can’t read anything outside of the /home directory, and there’s no way to fix that except changing the source code and recompiling it.