not 750, 0750
This commit is contained in:
parent
091587af88
commit
d4f08e57b0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue