Since I have root access on this system, this isn’t a tragedy, but I’m trying to understand what’s going on.
Bare metal: Ubuntu 18.04
My account: from LDAP
My homedir automount: /u/pgoetz
# snap install lxd --channel=latest/stable # lxd init
Just went with all the defaults except zfs → dir
I added my username to the LXD group, logged out, and logged back in. However, when I try to create a new container:
pgoetz@finglas ~$ lxc init ubuntu:22.04 apptainer-build cannot open path of the current working directory: Permission denied
This all works on several other systems I work with, with most of the details the same (well, the others are 20.04/22.04 bare metal installs), so I’m assuming this is an issue (like the last time I asked a similar question) with apparmor and the location of my home directory? But since I’m presumably trying to create a container in /var/snap/lxd, I’m not sure what my home directory has to do with it.
Any ideas? I’m planning on rolling out user-accessible container solutions at some point, so need to get these issues ironed out. And yes, I’m trying to use an LXD container to build apptainer. <:)