Skip to content

Commit fc7bec9

Browse files
committed
fix download
1 parent 7f830c4 commit fc7bec9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/scripts/download-chrome.sh

+6
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,9 @@ if [ "$machine" != "MinGw" ]; then
9393
echo "CHROME_PATH version:"
9494
$CHROME_PATH --version
9595
fi
96+
97+
# https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md
98+
if [ "$machine" == "Linux" && -n "$CI" ]; then
99+
sudo chown root:root "$chrome_out/chrome_sandbox"
100+
sudo chmod 4755 "$chrome_out/chrome_sandbox"
101+
fi

0 commit comments

Comments
 (0)