def setupPrivateRun(self, privateRunDir):

        # Handle the input provided (either a bool or a path)
        if isinstance(privateRunDir, bool):
            if privateRunDir is False:
                return
            privateRunDir = '/run/mininext/%s' % (self.name)
        elif not isinstance(privateRunDir, basestring):
            raise Exception("Invalid parameter for privateRunDir\n")

        # Create the PathProperties and MountProperties objects
        logPathProperties = PathProperties(path=privateRunDir,
                                           perms=getObjectPerms('/run'),
                                           create=True,
                                           createRecursive=True,
                                           setPerms=False)
        logMount = MountProperties(target='/run', source=logPathProperties)

        # Pass the created mountPoint off...
        self.setupMountPoint(logMount)

        # Mark the node as having private run space
        self.hasPrivateRun = True
A streaming (aka hijacking) endpoint like /attach is rejected if a
dataset/ETHPy150Open USC-NSL/miniNExT/mininext/node.py/Node.setupPrivateRun--crossover with--dataset/ETHPy150Open ClusterHQ/powerstrip/powerstrip/test/test_core.py/ProxyTests.test_stream_endpoint_reject_post_hook