[PATCH] t/lib-gpg: make gpghome files writable
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Oct 24, 2014, 15:23 UTC
- Message-ID
- <e4a04b52ade76af3d2d53e865b20815a582f8171.1414164092.git.git@drmicha.warpmail.net>
- In-Reply-To
- <544A6D4E.7070408@drmicha.warpmail.net>
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 <git@drmicha.warpmail.net> --- t/lib-gpg.sh | 1 + 1 file changed, 1 insertion(+)
diff --git a/t/lib-gpg.sh b/t/lib-gpg.sh index fd499e7..cd2baef 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.1.2.756.gfa53a0a