From d542501f1f5f7acd685885ec2d2d9cc7850b05b5 Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Fri, 8 Mar 2024 16:22:35 +0000 Subject: [PATCH] set temproot to be writible before removing symlinks --- try | 2 ++ 1 file changed, 2 insertions(+) diff --git a/try b/try index 77c7ef86..fabe76cb 100755 --- a/try +++ b/try @@ -284,6 +284,8 @@ EOF TRY_EXIT_STATUS=$? # remove symlink + # first set temproot to be writible, rhel derivatives defaults / to r-xr-w-rw + chmod 755 "${SANDBOX_DIR}/temproot" while IFS="" read -r mountpoint do if [ -L "$mountpoint" ]