Skip to content

Commit

Permalink
set temproot to be writible before removing symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
ezrizhu committed Mar 8, 2024
1 parent 25fdd3d commit d542501
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions try
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
Expand Down

0 comments on commit d542501

Please sign in to comment.