diff options
Diffstat (limited to 'daemon/daemon.go')
-rw-r--r-- | daemon/daemon.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/daemon.go b/daemon/daemon.go index 24205cd1dc..e75cee6c8c 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -813,7 +813,7 @@ func NewDaemon(ctx context.Context, config *config.Config, pluginStore *plugin.S } daemonRepo := filepath.Join(config.Root, "containers") - if err := idtools.MkdirAllAndChown(daemonRepo, 0700, rootIDs); err != nil { + if err := idtools.MkdirAllAndChown(daemonRepo, 0701, idtools.CurrentIdentity()); err != nil { return nil, err } |