Created
December 3, 2014 02:55
-
-
Save icecrime/958bc7ef7dc02e36a0a3 to your computer and use it in GitHub Desktop.
Directory special bit issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM busybox | |
RUN mkdir test_dir | |
RUN chmod 4755 test_dir | |
RUN [ $(ls -ld /test_dir | awk '{print $1}') = 'drwsr-xr-x' ] | |
ADD ./data/ / | |
RUN [ $(ls -ld /test_dir | awk '{print $1}') = 'drwsr-xr-x' ] |
Author
icecrime
commented
Dec 3, 2014
well you would have to chmod -R no? for recursive?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment