From b322d1cc5bde68711e2c8e69fbf0ded7a6a5c898 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Thu, 3 Nov 2022 13:37:12 -0700 Subject: [PATCH] Fix EPERM with OCI quick start Fixes #8106 PiperOrigin-RevId: 485960462 --- g3doc/user_guide/quick_start/oci.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/g3doc/user_guide/quick_start/oci.md b/g3doc/user_guide/quick_start/oci.md index e7768946b..c74772f4d 100644 --- a/g3doc/user_guide/quick_start/oci.md +++ b/g3doc/user_guide/quick_start/oci.md @@ -19,8 +19,8 @@ Create a root file system for the container. We will use the Docker `hello-world` image as the basis for our container. ```bash -mkdir rootfs -docker export $(docker create hello-world) | tar -xf - -C rootfs +mkdir --mode=0755 rootfs +docker export $(docker create hello-world) | sudo tar -xf - -C rootfs --same-owner --same-permissions ``` Next, create an specification file called `config.json` that contains our