Hey!
If my user is part of the vboxusers group, starting a Distrobox container fails with a permission error related to /dev/vboxusb. When I remove myself from the vboxusers group, Distrobox works perfectly, but then I lose the ability to pass USB devices to my VirtualBox machines.
Does anyone know how to resolve this conflict, so I can remain in the vboxusers group and still successfully run Distrobox containers?
barko@namiznik ~ $ distrobox enter ubuntu
Error: unable to start container "35d986240e1bbc777c03ec7f0a3db3b96adf4140d64176b3ee19759bc77d02b4": runc: runc create failed: unable to start container process: error during container init: error mounting "/dev/vboxusb/003/007" to rootfs at "/dev/vboxusb/003/007": create mountpoint for /dev/vboxusb/003/007 mount: lstat /home/barko/.local/share/containers/storage/overlay/94bfbad989d50ddf6dbabbdf19f2419ac7415e193714dbb690b56f79a941c6c6/merged//dev/vboxusb/003: permission denied: OCI permission denied
Thanks!
SOLUTION: sudo eopkg install crun && mkdir -p ~/.config/containers && echo -e "[engine]\nruntime = \"crun\"" > ~/.config/containers/containers.conf