Explicitly set rw for privileged container.
Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
@@ -523,7 +523,7 @@ func clearReadOnly(m *runtimespec.Mount) {
|
||||
opt = append(opt, o)
|
||||
}
|
||||
}
|
||||
m.Options = opt
|
||||
m.Options = append(opt, "rw")
|
||||
}
|
||||
|
||||
// addDevices set device mapping without privilege.
|
||||
|
||||
Reference in New Issue
Block a user