def METHOD_NAME(self, path):
    if self.is_inhouse(self.username):
        usertype = "soleil"
    else:
        usertype = "users"
    basedir = os.path.dirname(path)
    ruchepath = basedir.replace(
        self["file_info"].get_property("base_directory"), ""
    )
    if ruchepath and ruchepath[0] == os.path.sep:
        ruchepath = ruchepath[1:]
    infostr = "%s %s %s %s %s %s\n" % (
        usertype,
        self.username,
        self.user_id,
        self.group_id,
        basedir,
        ruchepath,
    )
    return infostr