linuxpackage-managersapparmorsnap

Snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks


I have been using snap for some time but after a recent upgrade, I get this error when I try opening any application

Snap-confine has elevated permissions and is not confined but should be.
Refusing to continue to avoid permission escalation attacks

I have tried various fixes but it keeps getting worse. Any idea on what I should do?

I also tried sudo apt purge snapd snap-confine && sudo apt install -y snapd but when I try opening pycharm-community, it doesn't do anything.


Solution

  • systemctl enable --now apparmor.service    
    systemctl enable --now snapd.apparmor.service
    

    from here