From: Harald Nordgren via GitGitGadget Date: Sun, 01 Nov 2026 11:02:15 GMT Subject: [PATCH 2/3] install-dependencies: work around a permission problem Message-ID: <15e79c5cfcd9eb59b79daa1aee7a54f433d8509b.1793530936.git.gitgitgadget@gmail.com> In-Reply-To: From: Harald Nordgren When replacing `dirname`, elevation is required, otherwise the command will fail with: + ln -sfT /usr/bin/gnudirname /usr/bin/dirname ln: failed to create symbolic link '/usr/bin/dirname': Already exists as observed in https://github.com/git-for-windows/git/actions/runs/40223871341/job/121274294974?pr=6473#step:3:909 Based-on-patch-by: Johannes Schindelin Signed-off-by: Harald Nordgren --- ci/install-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/install-dependencies.sh b/ci/install-dependencies.sh index 4b1733ad15..ed2d09a0a9 100755 --- a/ci/install-dependencies.sh +++ b/ci/install-dependencies.sh @@ -80,7 +80,7 @@ ubuntu-*|i386/debian-*|debian-*) # See . if test -x /usr/bin/gnudirname then - ln -sfT /usr/bin/gnudirname /usr/bin/dirname + sudo ln -sfT /usr/bin/gnudirname /usr/bin/dirname fi case "$distro" in -- gitgitgadget