def chugid_and_umask(runas, umask):
    if runas is not None:
        chugid(runas)
    if umask is not None:
        os.umask(umask)
build_vistrails_cmd_line_file(path_to_vistrails: str, 
dataset/ETHPy150Open saltstack/salt/salt/utils/__init__.py/chugid_and_umask--crossover with--dataset/ETHPy150Open VisTrails/VisTrails/extensions/latex/includevistrail.py/build_vistrails_cmd_line_file