Browse Source

[core] Make minicluster temp. dir readable

Abraham Elmahrek 12 năm trước cách đây
mục cha
commit
653aac322d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      desktop/libs/hadoop/src/hadoop/pseudo_hdfs4.py

+ 1 - 0
desktop/libs/hadoop/src/hadoop/pseudo_hdfs4.py

@@ -60,6 +60,7 @@ class PseudoHdfs4(object):
 
   def __init__(self):
     self._tmpdir = tempfile.mkdtemp(prefix='tmp_hue_')
+    os.chmod(self._tmpdir, 0755)
     self._superuser = getpass.getuser()
     self._fs = None
     self._jt = None