diff options
author | Andrei Vagin <avagin@google.com> | 2019-05-28 23:02:07 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-05-30 12:06:42 -0700 |
commit | b52e571a6188ce90b5a13b002753230780119db9 (patch) | |
tree | 8ba9aecb1ca4f2b92b00a8b0c8c3de29be62fe16 /runsc/cmd/do.go | |
parent | 4b9cb381572e0f61f2a6c2259094548172900e0d (diff) |
runsc/do: don't specify the read-only flag for the root mount
The root mount is an overlay mount.
PiperOrigin-RevId: 250429317
Diffstat (limited to 'runsc/cmd/do.go')
-rw-r--r-- | runsc/cmd/do.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runsc/cmd/do.go b/runsc/cmd/do.go index c057f3087..8ea59046c 100644 --- a/runsc/cmd/do.go +++ b/runsc/cmd/do.go @@ -105,8 +105,7 @@ func (c *Do) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) su spec := &specs.Spec{ Root: &specs.Root{ - Path: absRoot, - Readonly: true, + Path: absRoot, }, Process: &specs.Process{ Cwd: absCwd, |