Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #56 from thaJeztah/18.09_backport_more_permissive_…
Browse files Browse the repository at this point in the history
…daeon_conf_dir

[18.09] backport loosen permissions on /etc/docker directory
  • Loading branch information
andrewhsu authored Sep 28, 2018
2 parents 51618f7 + fc57622 commit 34b3cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/trustkey.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 34b3cf4

Please sign in to comment.