Skip to content
Permalink
Browse files

criu image path permission error in rootless checkpoint

Signed-off-by: Lifubang <lifubang@acmcoder.com>
  • Loading branch information...
lifubang committed Mar 11, 2019
1 parent 2b18fe1 commit 472fe623a76a039c438429345c0ccf71dc7722e8
Showing with 1 addition and 1 deletion.
  1. +1 −1 restore.go
@@ -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{

0 comments on commit 472fe62

Please sign in to comment.
You can’t perform that action at this time.