    def test_incorrect_permissions(self):
        """
        if permissions on existing im dir are not correct,
        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)
                try:
                    os.chmod(root_im_dir, 0o777)
                except OSError:
                    raise KnownFailureTest("Can't set file permissions.")
                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.