call site 2 for path.local.chmod
path/local/testing/test_local.py - line 44
42
43
44
45
46
   def test_remove_removes_readonly_dir(self):
       readonly_dir = self.tmpdir.join('readonlydir').ensure(dir=1)
->     readonly_dir.chmod(0500)
       readonly_dir.remove()
       assert not readonly_dir.check(exists=1)