This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch tlater/casd-socket-permissions
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 44bd2d72172297a60d874a9ff47259007372d18c
Author: Tristan Maat <[email protected]>
AuthorDate: Wed Nov 6 13:38:07 2019 +0000

    WIP: Temporarily disable the ability to link in CasBasedDirectory
---
 src/buildstream/storage/_filebaseddirectory.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/buildstream/storage/_filebaseddirectory.py 
b/src/buildstream/storage/_filebaseddirectory.py
index 07c23c1..cb4206a 100644
--- a/src/buildstream/storage/_filebaseddirectory.py
+++ b/src/buildstream/storage/_filebaseddirectory.py
@@ -86,6 +86,8 @@ class FileBasedDirectory(Directory):
 
         from ._casbaseddirectory import CasBasedDirectory  # pylint: 
disable=cyclic-import
 
+        can_link = False
+
         if isinstance(external_pathspec, CasBasedDirectory):
             if can_link and not update_mtime:
                 actionfunc = utils.safe_link

Reply via email to