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

boklm at torproject.org boklm at torproject.org
Wed Jul 26 10:13:51 UTC 2017


commit 9084d642cfc291df76b9fd4acecdce5aeb7f71b9
Author: Nicolas Vigier <boklm at torproject.org>
Date:   Wed Jul 26 12:09:07 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 ce444d4..4ef6b90 100644
--- a/rbm.conf
+++ b/rbm.conf
@@ -28,7 +28,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