diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-10-20 21:26:27 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-10-20 21:26:27 +0300 |
commit | fafe2b5078641c9f6a637bdaa7521d2ac0df130e (patch) | |
tree | 819dcd22d2ded55bd1b73fd5f12095d24bb1e5a2 /yarns | |
parent | fde531c8f124490d4698fa1eb838c09eef7f747f (diff) | |
download | obnam-fafe2b5078641c9f6a637bdaa7521d2ac0df130e.tar.gz |
Set temporary GNUPGHOME permissions
Diffstat (limited to 'yarns')
-rw-r--r-- | yarns/9000-implements.yarn | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/yarns/9000-implements.yarn b/yarns/9000-implements.yarn index 4a03f3d8..f9c9d69f 100644 --- a/yarns/9000-implements.yarn +++ b/yarns/9000-implements.yarn @@ -216,6 +216,7 @@ use. We store that. then mkdir "$DATADIR/$MATCH_1.gnupg" cp -a "$SRCDIR/$MATCH_3/." "$DATADIR/$MATCH_1.gnupg/." + chmod -R 0700 "$DATADIR/$MATCH_1.gnupg" add_to_env "$MATCH_1" GNUPGHOME "$DATADIR/$MATCH_1.gnupg" else # Export public and secret keys from new keyring. |