4

Is it possible to run snap applications on Ubuntu 16.04 as a LDAP user?

I always get 'permission denied' and I don't know what to do.

$ sudo snap install postman
postman 6.7.1 from Postman, Inc. (postman-incβœ“) installed

$ postman
cannot create user data directory: /home/DOMAIN/user/snap/postman/81: Permission denied

It happens for an every snap application, not just Postman.

EDIT:

Same for installing with the --classic flag.

1 Answers1

2

Found a solution that actually works. I've run

sudo dpkg-reconfigure apparmor

and added /home/DOMAIN there, then reboot.

Similar answer - https://askubuntu.com/a/1156839/912790

Bug at Launchpad - https://bugs.launchpad.net/snappy/+bug/1620771

The bug at Laucnhpad is marked as "won't fix", so maybe this workaround should work for a while.