Skip to content

Commit e7f224f

Browse files
Michael J Grubergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent eeff891 commit e7f224f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

t/lib-gpg.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ else
1818
# No password given, to enable non-interactive operation.
1919
cp -R "$TEST_DIRECTORY"/lib-gpg ./gpghome
2020
chmod 0700 gpghome
21+
chmod 0600 gpghome/*
2122
GNUPGHOME="$(pwd)/gpghome"
2223
export GNUPGHOME
2324
test_set_prereq GPG

0 commit comments

Comments
 (0)