A
--dev-bind /dev/steve /dev/steve
gives for an existing device /dev/steve the right permissions within an image:
crw-rw---- 1 steve jobserver 247, 0 Dec 20 09:34 /dev/steve
But if the jobserver at the host is restarted, then the device will be recreated there. The udev rules
# cat /etc/udev/rules.d/99-steve.rules
ACTION=="add", ENV{DEVNAME}=="/dev/steve", OWNER="steve", GROUP="jobserver", MODE="660"
ensures right perms after restart at the host. But for bubblewraped images the permissions within the image are set to user root now.
A
gives for an existing device /dev/steve the right permissions within an image:
But if the jobserver at the host is restarted, then the device will be recreated there. The udev rules
ensures right perms after restart at the host. But for bubblewraped images the permissions within the image are set to user root now.