TT#8635 set umask for files created by docker

tests made in 'docker run' create files with 'root' owner and ws-cleanup
plugin can't delete them after. Fixing umask here to allow files
deletion.

Change-Id: I3512fe413d8b46f9704dfd3dd143e43d42167d01
changes/46/10546/1
Sergii Kipot 9 years ago
parent ed64ff9925
commit 05fbd1e28c

@ -13,6 +13,11 @@ RUN apt-get install --assume-yes python-yaml python-junitxml \
RUN echo './t/testrunner' >>/root/.bash_history
# Create files with mode 666 and folders with mode 777 which
# allows to delete the temporary files (aka results) for
# non-root users (like 'jenkins' or 'developer's laptop local user')
RUN echo 'umask 0' >>/root/.bashrc
WORKDIR /code/
################################################################################

Loading…
Cancel
Save