Fix file mode bug (#618)

* Fix file mode

* Add Dockerfile for special file permission test
This commit is contained in:
Daisuke Taniwaki
2019-03-18 13:28:24 -05:00
committed by dlorenc
parent 246cc92a33
commit 28bfb75a31
4 changed files with 59 additions and 21 deletions
@@ -0,0 +1,8 @@
# Test to make sure the cache works with special file permissions properly.
# If the image is built twice, directory foo should have the sticky bit,
# and file bar should have the setuid and setgid bits.
FROM busybox
RUN mkdir foo && chmod +t foo
RUN touch bar && chmod u+s,g+s bar