From e7f224f7800b17304ebc37079c883f04f99a8eef Mon Sep 17 00:00:00 2001 From: Michael J Gruber Date: Fri, 24 Oct 2014 17:23:32 +0200 Subject: [PATCH] t/lib-gpg: make gpghome files writable t/lib-gpg.sh copies the test environment's gpg home to the trash directory and makes sure the directoty is writable. Make sure the copied files are writable, too. Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- t/lib-gpg.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index 05824fa8e4..fc5ca99046 100755 --- a/t/lib-gpg.sh +++ b/t/lib-gpg.sh @@ -18,6 +18,7 @@ else # No password given, to enable non-interactive operation. cp -R "$TEST_DIRECTORY"/lib-gpg ./gpghome chmod 0700 gpghome + chmod 0600 gpghome/* GNUPGHOME="$(pwd)/gpghome" export GNUPGHOME test_set_prereq GPG -- 2.11.4.GIT