diff --git a/src/common/logger.py b/src/common/logger.py index 64443342a012b2220eaf87ae5c073e50ed631aed..b4773c3c4c4ed2d60164821308de8018b1df3ce3 100644 --- a/src/common/logger.py +++ b/src/common/logger.py @@ -48,14 +48,14 @@ class Logger: sys.exit() elif not os.path.exists(LOGPATH): print _('creating %s directory') % LOGPATH - os.mkdir(LOGPATH) + os.mkdir(LOGPATH, 0700) else: # dot_gajim doesn't exist if dot_gajim: # is '' on win9x so avoid that print _('creating %s directory') % dot_gajim - os.mkdir(dot_gajim) + os.mkdir(dot_gajim, 0700) if not os.path.isdir(LOGPATH): print _('creating %s directory') % LOGPATH - os.mkdir(LOGPATH) + os.mkdir(LOGPATH, 0700) def write(self, kind, msg, jid, show = None, tim = None): if not tim: