criu image path permission error in rootless checkpoint

Signed-off-by: Lifubang <lifubang@acmcoder.com>
This commit is contained in:
Lifubang
2019-03-11 23:49:52 +08:00
parent 2b18fe1d88
commit 472fe623a7
+1 -1
View File
@@ -122,7 +122,7 @@ using the runc checkpoint command.`,
func criuOptions(context *cli.Context) *libcontainer.CriuOpts {
imagePath := getCheckpointImagePath(context)
if err := os.MkdirAll(imagePath, 0655); err != nil {
if err := os.MkdirAll(imagePath, 0755); err != nil {
fatal(err)
}
return &libcontainer.CriuOpts{