Merge pull request #703 from youtube/fix_docker_run_permissions_root

docker/test/run.sh: Make repo world readable for access from docker.
This commit is contained in:
Michael Berlin 2015-05-19 18:19:47 -07:00
Родитель 201532b076 a8785556be
Коммит 452265dadd
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -18,8 +18,9 @@ if [[ ! -f bootstrap.sh ]]; then
exit 1
fi
# To avoid AUFS permission issues, files must allow access by "other"
chmod -R o=g *
# To avoid AUFS permission issues, files must allow access by "other" (permissions rX required).
# Mirror permissions to "other" from the owning group (for which we assume it has at least rX permissions).
chmod -R o=g .
args="$args --rm -e USER=vitess -v /dev/log:/dev/log"
args="$args -v $PWD:/tmp/src"