Skip to content

Commit ed4a833

Browse files
committed
ci: fix git dubious permissions error
1 parent 49b87bf commit ed4a833

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci/test/04_install.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ if [ -z "$DANGER_RUN_CI_ON_HOST" ]; then
5757
export CI_EXEC_CMD_PREFIX="docker exec ${CI_CONTAINER_ID}"
5858
$CI_EXEC_CMD_PREFIX rsync --archive --stats --human-readable /ci_base_install/ "${BASE_ROOT_DIR}"
5959
$CI_EXEC_CMD_PREFIX rsync --archive --stats --human-readable /ro_base/ "$BASE_ROOT_DIR"
60+
# Fixes permission issues when there is a container UID/GID mismatch with the owner
61+
# of the mounted bitcoin src dir.
62+
$CI_EXEC_CMD_PREFIX git config --global --add safe.directory "*"
6063
else
6164
echo "Running on host system without docker wrapper"
6265
"${BASE_ROOT_DIR}/ci/test/01_base_install.sh"

0 commit comments

Comments
 (0)