Skip to content

Commit

Permalink
criu image path permission error in rootless checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Lifubang <lifubang@acmcoder.com>
  • Loading branch information
lifubang committed Mar 11, 2019
1 parent 2b18fe1 commit 472fe62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 472fe62

Please sign in to comment.