def change_tarinfo_properties(tarinfo):
    """
    Filter for insertion local file to tar archive.

    * tarinfo: tarinfo to insert
    * **return:** original tarinfo with changed permissions
    """
    tarinfo.uid = 0
    tarinfo.gid = 0
    return tarinfo
