From d93af053cb4d9608e66ad9764c70a060101c20df Mon Sep 17 00:00:00 2001 From: Graham Dumpleton Date: Tue, 6 Jun 2017 16:14:01 +1000 Subject: [PATCH] Fix up permissions after user build action hook run. --- .s2i/bin/assemble | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.s2i/bin/assemble b/.s2i/bin/assemble index ac3a7a5..3cff439 100755 --- a/.s2i/bin/assemble +++ b/.s2i/bin/assemble @@ -78,6 +78,12 @@ if [ -f $S2I_SOURCE_PATH/.s2i/action_hooks/build ]; then fi fi +# Now fix up the permissions on the directories and files where the source +# code was copied one last time to account for changes made from the users +# 'build' hook. + +fix-permissions $S2I_SOURCE_PATH + # Now fix up the shell login environment so it will trigger 'deploy_env'. if [ x"$S2I_BASH_ENV" != x"" ]; then