From bdef908fec70f0826df6f69c933797833fc18904 Mon Sep 17 00:00:00 2001 From: Daisuke Taniwaki Date: Sun, 17 Mar 2019 01:03:12 +0900 Subject: [PATCH] Add integration Dockerfile to test parent directory permissions --- integration/dockerfiles/Dockerfile_test_parent_dir_perms | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 integration/dockerfiles/Dockerfile_test_parent_dir_perms diff --git a/integration/dockerfiles/Dockerfile_test_parent_dir_perms b/integration/dockerfiles/Dockerfile_test_parent_dir_perms new file mode 100644 index 0000000000..ca5bbf863b --- /dev/null +++ b/integration/dockerfiles/Dockerfile_test_parent_dir_perms @@ -0,0 +1,8 @@ +FROM busybox + +RUN adduser --disabled-password --gecos "" --uid 1000 user +RUN mkdir -p /home/user/foo +RUN chown -R user /home/user +RUN chmod 700 /home/user/foo +ADD Makefile /home/user/foo/Makefile +RUN chown -R user /home/user