Merge pull request #56 from thaJeztah/18.09_backport_more_permissive_daeon_conf_dir
[18.09] backport loosen permissions on /etc/docker directory
This commit is contained in:
commit
34b3cf4b0c
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ import (
|
||||||
// TODO: this should use more of libtrust.LoadOrCreateTrustKey which may need
|
// TODO: this should use more of libtrust.LoadOrCreateTrustKey which may need
|
||||||
// a refactor or this function to be moved into libtrust
|
// a refactor or this function to be moved into libtrust
|
||||||
func loadOrCreateTrustKey(trustKeyPath string) (libtrust.PrivateKey, error) {
|
func loadOrCreateTrustKey(trustKeyPath string) (libtrust.PrivateKey, error) {
|
||||||
err := system.MkdirAll(filepath.Dir(trustKeyPath), 0700, "")
|
err := system.MkdirAll(filepath.Dir(trustKeyPath), 0755, "")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue