Typora cannot export pdf on Ubuntu 24.04 due to denied permissoins
Describe the bug
export to pdf file hang exporting
To Reproduce Steps to reproduce the behavior:
- Open md file
- Click file
- Scroll down to 'export' -> 'pdf'
- See error
hang exporting...
8月 06 16:52:44 14X kernel: audit: type=1400 audit(1754470364.817:146): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=7137 comm="Typora" capability=21 capname="sys_admin"
Desktop (please complete the following information):
PRETTY_NAME="Ubuntu 24.04.2 LTS" NAME="Ubuntu" VERSION_ID="24.04" VERSION="24.04.2 LTS (Noble Numbat)" VERSION_CODENAME=noble ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=noble LOGO=ubuntu-logo
kernel: 6.14.0-24-generic
Typora Version
1.10.8
Temporary workaround using work
sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
refer this issue: https://github.com/typora/typora-issues/issues/6160
Using AppImage? may relates: https://github.com/electron/electron/issues/42510
not, i'm using deb package.