From 9bbc169b624175bb432d439adea1bf4cbb7156bc Mon Sep 17 00:00:00 2001 From: Connor Peet Date: Wed, 6 Dec 2023 18:32:36 -0800 Subject: [PATCH] cli: a running `code tunnel/serve-web` subcommands as root (#200207) Fixes #193932 --- resources/linux/bin/code.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/linux/bin/code.sh b/resources/linux/bin/code.sh index 5fe68cb4f3e..eb48bf8fcfc 100755 --- a/resources/linux/bin/code.sh +++ b/resources/linux/bin/code.sh @@ -33,7 +33,7 @@ if [ "$(id -u)" = "0" ]; then for i in "$@" do case "$i" in - --user-data-dir | --user-data-dir=* | --file-write ) + --user-data-dir | --user-data-dir=* | --file-write | tunnel | serve-web ) CAN_LAUNCH_AS_ROOT=1 ;; esac