diff --git a/CHANGES b/CHANGES index c58b10aed12b67779d57c206620f8b15429d5e4c..37d772c1691202fb4b04317ecef2ba05196ac55b 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,14 @@ custom caching algorithms, not sure what other uses there may be (but there may be). Examples are in the "filtering" docs. + +- When Mako creates subdirectories in which + to store templates, it uses the more + permissive mode of 0775 instead of 0750, + helping out with certain multi-process + scenarios. Note that the mode is always + subject to the restrictions of the existing + umask. [ticket:101] - Fixed namespace.__getattr__() to raise AttributeError on attribute not found diff --git a/lib/mako/util.py b/lib/mako/util.py index 0141093043cd4882dca0463aac453434b08e819b..4678131ba87378b09a702b99e05d88caa4aebc93 100644 --- a/lib/mako/util.py +++ b/lib/mako/util.py @@ -38,7 +38,7 @@ def verify_directory(dir): while not os.path.exists(dir): try: tries += 1 - os.makedirs(dir, 0750) + os.makedirs(dir, 0775) except: if tries > 5: raise