From 85ef2ea65cb08a0d28bd27d24c9803c117da6976 Mon Sep 17 00:00:00 2001 From: Jan Dubois Date: Mon, 13 Jan 2025 11:28:21 -0800 Subject: [PATCH] Make sure the chrome-sandbox in the AppImage build has the setuid bit set Signed-off-by: Jan Dubois --- packaging/linux/appimage.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/linux/appimage.yml b/packaging/linux/appimage.yml index cc9d9732ab7..1f12b73b17d 100644 --- a/packaging/linux/appimage.yml +++ b/packaging/linux/appimage.yml @@ -9,6 +9,7 @@ build: script: - rm -rf $BUILD_APPDIR/* && mkdir -p $BUILD_APPDIR/opt/rancher-desktop $BUILD_APPDIR/usr/share/metainfo $BUILD_APPDIR/usr/bin $BUILD_APPDIR/usr/lib64 - unzip $BUILD_SOURCE_DIR/rancher-desktop.zip -d $BUILD_APPDIR/opt/rancher-desktop + - chmod 04755 $BUILD_APPDIR/opt/rancher-desktop/chrome-sandbox - mv $BUILD_APPDIR/opt/rancher-desktop/resources/resources/linux/rancher-desktop.desktop $BUILD_APPDIR - convert -resize 512x512 $BUILD_APPDIR/opt/rancher-desktop/resources/resources/icons/logo-square-512.png $BUILD_APPDIR/rancher-desktop.png - mv $BUILD_APPDIR/opt/rancher-desktop/resources/resources/linux/lima/bin/qemu-* $BUILD_APPDIR/usr/bin