typora-issues
typora-issues copied to clipboard
Typora cannot open on Ubuntu 24.04 due to denied permissoins
-
[x] Searched existing issues to avoid creating duplicates.
-
[x] Confirmed that it can be reproduced in built-in themes without customized css.
-
[x] 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