Skip to content

Commit 472fe62

Browse files
committed
criu image path permission error in rootless checkpoint
Signed-off-by: Lifubang <lifubang@acmcoder.com>
1 parent 2b18fe1 commit 472fe62

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

restore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ using the runc checkpoint command.`,
122122

123123
func criuOptions(context *cli.Context) *libcontainer.CriuOpts {
124124
imagePath := getCheckpointImagePath(context)
125-
if err := os.MkdirAll(imagePath, 0655); err != nil {
125+
if err := os.MkdirAll(imagePath, 0755); err != nil {
126126
fatal(err)
127127
}
128128
return &libcontainer.CriuOpts{

0 commit comments

Comments
 (0)