title: Snap-confine has elevated permissions and is not confined but should be. Refusing to continue to avoid permission escalation attacks
body: <p>I have been using snap for some time but after a recent upgrade, I get this error when I try opening any application</p>
  <pre><code>Snap-confine has elevated permissions and is not confined but should be.
  Refusing to continue to avoid permission escalation attacks
  </code></pre>
  <p>I have tried various fixes but it keeps getting worse. Any idea on what I should do?</p>
  <p>I also tried <code>sudo apt purge snapd snap-confine &amp;&amp; sudo apt install -y snapd</code> but when I try opening pycharm-community, it doesn't do anything.</p>