summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-12 09:04:19 +0100
committerGitHub <noreply@github.com>2022-01-12 09:04:19 +0100
commit6945b37850d77944fc79a784af9e362cb0184234 (patch)
tree04c36e107cbc5e8991676eca23d2723aa84061c1 /libpod
parent827299099e8f107fe3c3df6991149ae8e767acb0 (diff)
parent83b0fb4696fc9db304365eb16720c26bad93e474 (diff)
downloadpodman-6945b37850d77944fc79a784af9e362cb0184234.tar.gz
podman-6945b37850d77944fc79a784af9e362cb0184234.tar.bz2
podman-6945b37850d77944fc79a784af9e362cb0184234.zip
Merge pull request #12813 from rhatdan/secrets
Fix permission on secrets directory
Diffstat (limited to 'libpod')
-rw-r--r--libpod/runtime_ctr.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/runtime_ctr.go b/libpod/runtime_ctr.go
index 2891eb783..53ccb9139 100644
--- a/libpod/runtime_ctr.go
+++ b/libpod/runtime_ctr.go
@@ -429,7 +429,7 @@ func (r *Runtime) setupContainer(ctx context.Context, ctr *Container) (_ *Contai
}()
ctr.config.SecretsPath = filepath.Join(ctr.config.StaticDir, "secrets")
- err = os.MkdirAll(ctr.config.SecretsPath, 0644)
+ err = os.MkdirAll(ctr.config.SecretsPath, 0755)
if err != nil {
return nil, err
}