X-Git-Url: http://average.org/gitweb/?a=blobdiff_plain;f=loctrkd%2Frectifier.py;h=c8f9912c621f6c8234d5a9125c61a1e556d0df5d;hb=77c191290dad765c5b2e09c60d2b7e38aff87565;hp=667651758ce996986da2a83521f6be55e4f4fb8a;hpb=f864ae02fafc77fa7ddda90dc11e81e5270bcb5c;p=loctrkd.git diff --git a/loctrkd/rectifier.py b/loctrkd/rectifier.py index 6676517..c8f9912 100644 --- a/loctrkd/rectifier.py +++ b/loctrkd/rectifier.py @@ -51,7 +51,9 @@ def runserver(conf: ConfigParser) -> None: zpush = zctx.socket(zmq.PUSH) # type: ignore zpush.connect(conf.get("collector", "listenurl")) zpub = zctx.socket(zmq.PUB) # type: ignore + oldmask = umask(0o117) zpub.bind(conf.get("rectifier", "publishurl")) + umask(oldmask) try: while True: