0

I've upgraded to 22.04.2 LTS from 22.04 via the update manager and have noticed that many of my apps no longer work. As an example, if I run firefox at the terminal with the command snap run firefox then I receive the following error:

2023/05/28 16:28:33.122160 cmd_run.go:1046: WARNING: cannot create user data directory: cannot create "/home/omar/snap/firefox/2710": mkdir /home/omar/snap/firefox: permission denied

I looked in the syslog file and there are a number of apparmor="DENIED" warnings coming up.

2 Answers2

0

add non-standard home directory to apparmor's HOMEDIRS variable 1 by this command:

$ sudo dpkg-reconfigure apparmor
Talaat Etman
  • 1,340
0

I've finally figured out what was going wrong. It turns out that the update to 22.04.2 LTS has led to all of the directories and files within my home directory, including itself, having their ownership changed to a user 10001 for some reason. This has meant that my user no longer had the ability to create directories or edit files within my home directory.