This sounds like install and racket-run permission denied · Issue #654 · greghendershott/racket-mode · GitHub when Racket is a Snap.
See also racket-documentation-search doesn't work with snap browsers in default configuration · Issue #620 · greghendershott/racket-mode · GitHub when Firefox or other web browser is a Snap.
(Possibly also a problem when Emacs is a Snap??)
In my experience with VMs and containers, there's usually an option to make outside dirs accessible. (IIUC even just read-only would suffice, here).
But it seems like Snap sandboxes don't make that possible, or at least easy (e.g. --classic
might help if you use command-line instead of GUI Snap store)?
I've been hoping someone who knows more about Snaps might discover an easy recipe (EDIT: that allows people to keep using things like MELPA to install Emacs packages in the default place under ~/.emacs.d/
).