def METHOD_NAME(self):
    if not os.path.exists(self.path):
        self.log.info("create directory %s" % (self.path))
        os.makedirs(self.path)
    if not self.check_uid():
        self.log.info("set %s user to %s" % (self.path, str(self.user)))
        os.chown(self.path, self.uid, -1)
    if not self.check_gid():
        self.log.info("set %s group to %s" % (self.path, str(self.group)))
        os.chown(self.path, -1, self.gid)
    if not self.check_perm():
        self.log.info("set %s perm to %s" % (self.path, str(self.perm)))
        os.chmod(self.path, int(str(self.perm), 8))