I also ran into this problem trying out the htop snap. After removing the snap I installed htop via apt, but it still failed with the same message:
$ htop failed to create user data directory. errmsg: Permission denied $ which htop /usr/bin/htop Enabling xenial-proposed and running apt upgrade fixed the problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1592696 Title: snaps don't work with encrypted home: failed to create user data directory. errmsg: Permission denied To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1592696/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs