The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/28

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
From 10ff8b0990776de9cc56ae022ba65d0fe36c47c2 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.h...@canonical.com>
Date: Tue, 6 Mar 2018 12:15:51 +0100
Subject: [PATCH] shared: Fix gpg directory permissions

Signed-off-by: Thomas Hipp <thomas.h...@canonical.com>
---
 shared/util.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shared/util.go b/shared/util.go
index d0489fe..4d9bd5b 100644
--- a/shared/util.go
+++ b/shared/util.go
@@ -82,7 +82,7 @@ func VerifyFile(signedFile, signatureFile string, keys 
[]string, keyserver strin
 func CreateGPGKeyring(keyserver string, keys []string) (string, error) {
        gpgDir := filepath.Join(os.TempDir(), "distrobuilder.gpg")
 
-       err := os.MkdirAll(gpgDir, 0700)
+       err := os.MkdirAll(gpgDir, 0600)
        if err != nil {
                return "", err
        }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to