[tor-commits] [tor-messenger-build/master] Include uid in tmp containers directory

boklm at torproject.org boklm at torproject.org
Tue Aug 1 10:51:15 UTC 2017


commit ce31727dd82bf06f1f41f68d4f46f60878e89a57
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Tue Aug 1 12:49:30 2017 +0200

    Include uid in tmp containers directory
    
    This should allow multiple users to do builds on the same machine.
---
 rbm.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rbm.conf b/rbm.conf
index 6b8f3c7..b7b73e3 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -29,7 +29,7 @@ var:
     build:
     [% c("build", { filename => 'f', output_dir => '/out' }) %]
   container:
-    dir: '[% c("tmp_dir") %]/rbm-containers/[% sha256(c("build_id")) %]'
+    dir: '[% c("tmp_dir") %]/[% c("uid") %]/rbm-containers/[% sha256(c("build_id")) %]'
     user: rbm
   input_files_list: |
     [% FOREACH file IN c("input_files_by_name").keys.sort -%]



More information about the tor-commits mailing list