From 583492c77891022b2f44fb48bf9730a4a30fc78b Mon Sep 17 00:00:00 2001 From: David Crompton Date: Tue, 24 Oct 2023 11:30:53 -0400 Subject: [PATCH] Add userns keepid to deeplab (perms fix) --- machines/kcnhub/packages/deeplabcut.patch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/machines/kcnhub/packages/deeplabcut.patch b/machines/kcnhub/packages/deeplabcut.patch index 3125bd3..afe589f 100644 --- a/machines/kcnhub/packages/deeplabcut.patch +++ b/machines/kcnhub/packages/deeplabcut.patch @@ -13,7 +13,8 @@ index c62087c..30b5e51 @@ -144,8 +144,10 @@ gui() { update gui || exit 1 build gui || exit 1 - args="$(get_x11_args) $(get_mount_args) ${extra_args}" +- args="$(get_x11_args) $(get_mount_args) ${extra_args}" ++ args="$(get_x11_args) $(get_mount_args) ${extra_args} --userns keep-id" + xhost +local:dlc $DOCKER run -it --rm ${args} $(get_local_container_name gui) \ || err "Failed to launch the DLC GUI. Used args: \"${args}\""