I have set up sssd and joined my 18.04 LTS workstation to the company domain. Most things work OK except for a couple of snap applications. When trying to run them I get errors creating files in ~/snap.

:~$ skype cannot create user data directory: /home/[domain]/[user]/snap/skype/48: Permission denied

Skype works if I run it as root, however I would prefer not to do that.

The mail app hiri however refuses to let me write in it even if I club it with chmod -R 777

~$ hiri cannot create user data directory: /home/[domain]/[user]/snap/hiri/55: Permission denied

What am I missing?

  • Are [domain] and [user] actually there, ,[] and all, or is this an obfuscation?
    – waltinator
    Aug 10, 2018 at 5:31
  • My pathlld script will show you more information. github.com/waltinator/pathlld.git - Bash script to answer "Why can't I read/write that file?"
    – waltinator
    Aug 10, 2018 at 5:33
  • Hi waltinator, thanks for the respone. [doman] and [user] are indeed obfuscations. Perhaps I'm being overly cautious there? Output: pastebin.com/WZYstUb6 Aug 10, 2018 at 21:28
  • I am seeing this permissions failure with more and more snap apps. Inkscape now. Does anyone know how to fix this? Am I the only one with this issue? Aug 30, 2018 at 21:07

1 Answer 1


The issue is due to the user home folder being part of the domain.

$ sudo dpkg-reconfigure apparmor

Then, specify "/home/[DOMAIN]/" as an additional user home directory. This should resolve the permission issue for all the applications

  • Shravya - you are officially my new hero! I am now happily running snap apps in my domain account. Thank you. May 1, 2019 at 21:58
  • I really can't take the credit for it. One of my teammates told me this solution :) May 7, 2019 at 12:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.