From 5b81853c04deef5683944654cccd627edc60b754 Mon Sep 17 00:00:00 2001 From: David Chan Date: Fri, 1 Apr 2016 17:35:19 -0700 Subject: [PATCH] Fix CACHE_DIR mode in contrib/inventory/spacewalk.py --- contrib/inventory/spacewalk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/inventory/spacewalk.py b/contrib/inventory/spacewalk.py index fb0a152eca..5d3a182197 100755 --- a/contrib/inventory/spacewalk.py +++ b/contrib/inventory/spacewalk.py @@ -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 #------------------------------