mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
fix highstate cache file perms
This commit is contained in:
parent
16ef0c43f0
commit
d2ae41d0b2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user