From b52e571a6188ce90b5a13b002753230780119db9 Mon Sep 17 00:00:00 2001 From: Andrei Vagin Date: Tue, 28 May 2019 23:02:07 -0700 Subject: runsc/do: don't specify the read-only flag for the root mount The root mount is an overlay mount. PiperOrigin-RevId: 250429317 --- runsc/cmd/do.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'runsc') 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, -- cgit v1.2.3