Appmenu-gtk-module / .config/user-dirs.dirs: Permission denied

Description

MailSpring is failing to run. when I check the CLI this is what it returns as the error.

Failed to load module “appmenu-gtk-module”.

when ran as SUDO the error is different:
“mkdir: cannot create directory ‘/run/user/0’: Permission denied”

Can’t reproduce steps since started failing ever since I’ve updated to Pop_Os version 20.10. currently running kernel 5.8.0-7625

Screenshots

Setup

  • OS and Version: Linux - Pop_Os 20.10
    • Installation Method: Snap
  • Mailspring Version: 1.7.8

(Originally posted by Dedsecproject on GitHub.)

+1 experiencing the same issue after updating Pop_OS


(Originally posted by nprestel on GitHub.)

+1 experiencing the same issue after updating Pop_OS

Same here


(Originally posted by torbenal on GitHub.)

This error does have nothing todo with the “appmenu-gtk-module” message. Rather the problem is, that the .config directory cannot be read if Mailspring is installed via snap in this case.

Please try to install Mailspring using the --classic flag as follows:

sudo snap install mailspring
1 Like