fix highstate cache file perms

This commit is contained in:
David Boucha 2014-02-07 16:06:39 -07:00
parent 16ef0c43f0
commit d2ae41d0b2

View File

@ -280,7 +280,7 @@ def highstate(test=None, queue=False, **kwargs):
# Not 100% if this should be fatal or not,
# but I'm guessing it likely should not be.
cumask = os.umask(191)
cumask = os.umask(077)
try:
if salt.utils.is_windows():
# Make sure cache file isn't read-only