typora/typora-issues

Typora cannot open on Ubuntu 24.04 due to denied permissoins

Opened this issue · 1 comments

  • Searched existing issues to avoid creating duplicates.

  • Confirmed that it can be reproduced in built-in themes without customized css.

  • Searched http://support.typora.io/


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