'lxc profile edit' gives error

I do not know how it works with LXD. That special tmp directory is in /tmp/snap-private-tmp/snap.lxd/. Applications that are not provided in the same snap package do not have access in there.

This forum provides support for Incus. Also this.