def test_permissions(self):
        path = FilePath(self.mktemp())
        DockerPluginScript()._create_listening_directory(path)
        path.restat()
        self.assertEqual(path.getPermissions().shorthand(), "rwx------")
Get the disk's name.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/dockerplugin/test/test_script.py/DockerPluginScriptTests.test_permissions--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/azure/azure_disk.py/AzureDisk._PostCreate