git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[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
Previous: Michael J GruberNext: Junio C Hamano
Message 6 of 9 in “push: heed user.signingkey for signed pushes”
  1. push: heed user.signingkey for signed pushesMichael J Gruber, Oct 22, 2014
  2. [PATCHv2] push: heed user.signingkey for signed pushesMichael J Gruber, Oct 22, 2014
  3. Junio C HamanoOct 22, 2014
  4. Junio C HamanoOct 22, 2014
  5. Michael J GruberOct 24, 2014
  6. t/lib-gpg: make gpghome files writableMichael J Gruber, Oct 24, 2014
  7. Junio C HamanoOct 24, 2014
  8. Michael J GruberOct 24, 2014
  9. Junio C HamanoOct 24, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.