mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
criu image path permission error in rootless checkpoint
Signed-off-by: Lifubang <lifubang@acmcoder.com>
This commit is contained in:
+1
-1
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user