You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by li...@apache.org on 2022/12/29 13:15:46 UTC

[arrow-adbc] branch main updated: chore(dev/release): ensure temporary directory writable on cleanup (#296)

This is an automated email from the ASF dual-hosted git repository.

lidavidm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-adbc.git


The following commit(s) were added to refs/heads/main by this push:
     new 2ff8c5a  chore(dev/release): ensure temporary directory writable on cleanup (#296)
2ff8c5a is described below

commit 2ff8c5a090462358b7f1e2ff9c900872032bc1da
Author: Sutou Kouhei <ko...@clear-code.com>
AuthorDate: Thu Dec 29 22:15:41 2022 +0900

    chore(dev/release): ensure temporary directory writable on cleanup (#296)
    
    I don't know why but Go modules are installed with `0444` permission.
    
    Fixes #295.
---
 dev/release/verify-release-candidate.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index 8e88528..797b5d3 100755
--- a/dev/release/verify-release-candidate.sh
+++ b/dev/release/verify-release-candidate.sh
@@ -227,6 +227,8 @@ test_yum() {
 setup_tempdir() {
   cleanup() {
     if [ "${TEST_SUCCESS}" = "yes" ]; then
+      # Go modules are installed with 0444.
+      chmod -R u+w "${ARROW_TMPDIR}"
       rm -fr "${ARROW_TMPDIR}"
     else
       echo "Failed to verify release candidate. See ${ARROW_TMPDIR} for details."