Fix CACHE_DIR mode in contrib/inventory/spacewalk.py

This commit is contained in:
David Chan 2016-04-01 17:35:19 -07:00 committed by Brian Coca
commit 5b81853c04

View file

@ -70,7 +70,7 @@ if not os.path.exists(SW_REPORT):
# Pre-startup work
if not os.path.exists(CACHE_DIR):
os.mkdir(CACHE_DIR)
os.chmod(CACHE_DIR, 2775)
os.chmod(CACHE_DIR, 0o2775)
# Helper functions
#------------------------------