diff --git a/callback_plugins/logdetail.py b/callback_plugins/logdetail.py index 718ed7a735..87b4226523 100644 --- a/callback_plugins/logdetail.py +++ b/callback_plugins/logdetail.py @@ -36,7 +36,7 @@ class LogMech(object): self.logpath = LOG_PATH if not os.path.exists(self.logpath): try: - os.makedirs(self.logpath, mode=750) + os.makedirs(self.logpath, mode=0750) except OSError, e: if e.errno != 17: raise