mirror of
https://github.com/GoogleContainerTools/kaniko
synced 2026-10-20 06:11:58 +02:00
Fix file mode bug (#618)
* Fix file mode * Add Dockerfile for special file permission test
This commit is contained in:
committed by
dlorenc
parent
246cc92a33
commit
28bfb75a31
@@ -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
|
||||
Reference in New Issue
Block a user