Browse Source

Fix chmod for new directory.

develop
Mike Hiretsky 11 years ago
parent
commit
ef4a651d73
  1. 2
      pym/cl_template.py

2
pym/cl_template.py

@ -3622,6 +3622,7 @@ re.M|re.S)
try:
if dMode:
os.mkdir(nameDir, dMode)
os.chmod(nameDir, dMode)
else:
os.mkdir(nameDir)
os.chown(nameDir, dUid, dGid)
@ -3631,6 +3632,7 @@ re.M|re.S)
try:
if dMode:
os.mkdir(dirName, dMode)
os.chmod(dirName, dMode)
else:
os.mkdir(dirName)
os.chown(dirName, dUid, dGid)

Loading…
Cancel
Save