Skip to content

AppArmor is denying access to ~/.config/com.add0n.node/run.sh #140

@CFoltin

Description

@CFoltin

Hi,

thanks for the very useful extension!

I switched to Ubuntu 24.10 and the installation of the native-client went through, but the client wasn't detected.
In the syslog I noticed (after quite a while...):
2024-12-25T11:16:55.692599+01:00 xxxx kernel: audit: type=1400 audit(1735121815.690:2615): apparmor="DENIED" operation="exec" class="file" profile="firefox" name="/home/xxx/.config/com.add0n.node/run.sh" pid=21804 comm=444F4D20576F726B6572 requested_mask="x" denied_mask="x" fsuid=1000 ouid=1000

Remedia was to add an apparmor local rule like

root@xxxxx:~# cat /etc/apparmor.d/local/usr.bin.firefox 
# Site-specific additions and overrides for usr.bin.firefox.
# For more details, please see /etc/apparmor.d/local/README.
  /home/xxxxx/.config/com.add0n.node/run.sh    rux,

Hope that helps somebody!
BR, Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions