    def test_symlink_raise(self):
        """ if existing im dir is a symlink, new one should be created """
        if sys.platform != 'win32':
            tmpdir = tempfile.mkdtemp()
            try:
                im_dir = catalog.create_intermediate_dir(tmpdir)
                root_im_dir = os.path.dirname(im_dir)

                tempdir = tempfile.mkdtemp(prefix='scipy-test', dir=tmpdir)
                try:
                    os.rename(root_im_dir, tempdir)
                except OSError:
                    raise KnownFailureTest("Can't move intermediate dir.")

                try:
                    os.symlink(tempdir, root_im_dir)
                except OSError:
                    raise KnownFailureTest(
                        "Can't create symlink to intermediate dir.")
                else:
                    self.dirs_are_valid(im_dir, tmpdir)
            finally:
                remove_tree(tmpdir)
The software does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.