typora / typora-issues

Bugs, suggestions or free discussions about the minimal markdown editor — Typora
https://typora.io
1.53k stars 56 forks source link

Typora cannot open on Ubuntu 24.04 due to denied permissoins #6160

Open bifbof opened 1 month ago

bifbof commented 1 month ago

Describe the bug typora 1.9.3-1 on ubuntu 24.04 won’t start with error message: [30309:1014/151650.559952:FATAL:credentials.cc(127)] Check failed: . : Permission denied (13)

To Reproduce Install typora as described on https://support.typora.io/Typora-on-Linux/ via apt-get.

Expected behavior typora app starts

Desktop: Distributor ID: Ubuntu Description: Ubuntu 24.04.1 LTS Release: 24.04 Codename: noble

Typora Version 1.9.3-1

Additional context reason missing apparmor profile See https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-user-namespaces for more infos.

Temporary workaround using:

sudo sysctl -w kernel.apparmor_restrict_unprivileged_unconfined=0
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
abnerlee commented 1 month ago

relates https://github.com/electron/electron/issues/41066