Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
fix(git): Add correct permissions for shell scripts like git (#673) (#…
Browse files Browse the repository at this point in the history
…685)

Fixes eclipse-che/che#16084

Change-Id: I5110ae857e6849b8b8d0ecda67903b612ab59616
Signed-off-by: Florent Benoit <fbenoit@redhat.com>
  • Loading branch information
ericwill committed Mar 25, 2020
1 parent fb86532 commit 4cad680
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dockerfiles/theia/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ RUN if [ -z $GITHUB_TOKEN ]; then unset GITHUB_TOKEN; fi && \
COPY asset-untagged-theia_yeoman_plugin.theia /home/theia-dev/theia-source-code/production/plugins/theia_yeoman_plugin.theia

# change permissions
RUN find production -exec sh -c "chgrp 0 {}; chmod g+rwX {}" \; 2>log.txt
RUN find production -exec sh -c "chgrp 0 {}; chmod g+rwX {}" \; 2>log.txt && \
# Add missing permissions on shell scripts of plug-ins
find /home/theia-dev/theia-source-code/production/plugins -name "*.sh" | xargs chmod +x



###
Expand Down

0 comments on commit 4cad680

Please sign in to comment.