Skip to content

Typora cannot export pdf on Ubuntu 24.04 due to denied permissoins #6392

@wkjun

Description

@wkjun

Describe the bug

export to pdf file hang exporting

To Reproduce
Steps to reproduce the behavior:

  1. Open md file
  2. Click file
  3. Scroll down to 'export' -> 'pdf'
  4. 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: #6160

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions