[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser-build/master] Fix some permissions problem in runc/remote_get
commit 86210c6821e393e98dd58c7d7bb6223755b496d5
Author: Nicolas Vigier <boklm@xxxxxxxxxxxxxx>
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: |
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits