Merge branch 'stable-2.7' into stable-2.8
[ganeti-local] / test / py / ganeti.backend_unittest.py
index 4ad743a..aef982f 100755 (executable)
@@ -168,6 +168,7 @@ class TestVerifyRestrictedCmdDirectory(unittest.TestCase):
   def testNormal(self):
     tmpname = utils.PathJoin(self.tmpdir, "foobar")
     os.mkdir(tmpname)
+    os.chmod(tmpname, 0755)
     self.assertTrue(os.path.isdir(tmpname))
     (status, msg) = \
       backend._VerifyRestrictedCmdDirectory(tmpname,