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
|
self.logpath = LOG_PATH
|
||||||
if not os.path.exists(self.logpath):
|
if not os.path.exists(self.logpath):
|
||||||
try:
|
try:
|
||||||
os.makedirs(self.logpath, mode=750)
|
os.makedirs(self.logpath, mode=0750)
|
||||||
except OSError, e:
|
except OSError, e:
|
||||||
if e.errno != 17:
|
if e.errno != 17:
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue