commit 86210c6821e393e98dd58c7d7bb6223755b496d5 Author: Nicolas Vigier boklm@torproject.org Date: Tue Aug 1 12:02:03 2017 +0200
Fix some permissions problem in runc/remote_get --- rbm.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/rbm.conf b/rbm.conf index 4ef6b90..31e6a51 100644 --- a/rbm.conf +++ b/rbm.conf @@ -297,10 +297,10 @@ runc: -%] mkdir -p [% dst %] srcdir='[% c("var/container/dir", { error_if_undef => 1 }) %]'/rootfs/[% src %] + sudo chown -R $(whoami) "$srcdir" if [ $(ls -1 "$srcdir"/* 2> /dev/null | wc -l) -gt 0 ] then - sudo chown $(whoami) "$srcdir"/* - sudo mv -f "$srcdir"/* [% dst %]/ + mv -f "$srcdir"/* [% dst %]/ fi
remote_finish: |
tbb-commits@lists.torproject.org