diff options
Diffstat (limited to 's2i')
-rwxr-xr-x | s2i/bin/assemble | 3 | ||||
-rwxr-xr-x | s2i/bin/assemble.post | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/s2i/bin/assemble b/s2i/bin/assemble index 652b321..84ba25d 100755 --- a/s2i/bin/assemble +++ b/s2i/bin/assemble @@ -15,5 +15,4 @@ cat <<EOF > html/index.html </html> EOF -echo "---> Fix permissions ..." -chmod -R +r html +source ${0}.post diff --git a/s2i/bin/assemble.post b/s2i/bin/assemble.post new file mode 100755 index 0000000..839410c --- /dev/null +++ b/s2i/bin/assemble.post @@ -0,0 +1,4 @@ +echo "---> Fix permissions ($HOME) ..." +find $HOME -type f -print0 | xargs -0 chmod +r +find $HOME -type d -print0 | xargs -0 chmod +r +find $HOME -type d -print0 | xargs -0 chmod +x |