setFileMode

lsst.daf.butler.core.safeFileIo.setFileMode(filename)

Set a file mode according to the user’s umask