def METHOD_NAME(qemu, gid, uid, path):
    self.logger.info("Check ownership of %s", path)
    status, output = qemu.run_serial(r'/bin/stat -c "%U %G" ' + path, timeout=60)
    output = output.split(" ")
    if output[0] != uid or output[1] != gid :
        self.logger.error("Incrrect ownership %s [%s:%s]", path, output[0], output[1])
        return False
    return True