diff options
author | Chuck Lantz <clantz@microsoft.com> | 2022-03-17 04:44:40 +0300 |
---|---|---|
committer | Chuck Lantz <clantz@microsoft.com> | 2022-03-17 04:44:40 +0300 |
commit | f32689c4cc028a465c5cc0a99807101cd8b2fc61 (patch) | |
tree | 318768780cce0e2fc0352ebc89bfa702ce437570 /.devcontainer | |
parent | eef0ee4f31dc8165a2f95497bea5a5aa10be1ab1 (diff) |
Move electron sandbox priv change
Diffstat (limited to '.devcontainer')
-rwxr-xr-x | .devcontainer/cache/restore-diff.sh | 5 | ||||
-rwxr-xr-x | .devcontainer/prepare.sh | 3 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.devcontainer/cache/restore-diff.sh b/.devcontainer/cache/restore-diff.sh index cec5950fad5..e8ea93f3f35 100755 --- a/.devcontainer/cache/restore-diff.sh +++ b/.devcontainer/cache/restore-diff.sh @@ -22,3 +22,8 @@ echo "+1000 +$(id -g)" > "${CACHE_FOLDER}/cache-group-map" tar --owner-map="${CACHE_FOLDER}/cache-owner-map" --group-map="${CACHE_FOLDER}/cache-group-map" -xpsf "${CACHE_FOLDER}/cache.tar" rm -rf "${CACHE_FOLDER}" echo "[$(date)] Done!" + +# Change ownership of chrome-sandbox +sudo chown root .build/electron/chrome-sandbox +sudo chmod 4755 .build/electron/chrome-sandbox + diff --git a/.devcontainer/prepare.sh b/.devcontainer/prepare.sh index d6f1578c3dd..9b5c81ff40d 100755 --- a/.devcontainer/prepare.sh +++ b/.devcontainer/prepare.sh @@ -7,6 +7,3 @@ yarn install yarn electron - -sudo chown root .build/electron/chrome-sandbox -sudo chmod 4755 .build/electron/chrome-sandbox |