Merge pull request #37847 from thaJeztah/more_permissive_daeon_conf_dir

Loosen permissions on /etc/docker directory
This commit is contained in:
Vincent Demeester 2018-09-18 08:49:38 +02:00 committed by GitHub
commit 8efb908581
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@ import (
// TODO: this should use more of libtrust.LoadOrCreateTrustKey which may need
// a refactor or this function to be moved into libtrust
func loadOrCreateTrustKey(trustKeyPath string) (libtrust.PrivateKey, error) {
err := system.MkdirAll(filepath.Dir(trustKeyPath), 0700, "")
err := system.MkdirAll(filepath.Dir(trustKeyPath), 0755, "")
if err != nil {
return nil, err
}