mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix CACHE_DIR mode in contrib/inventory/spacewalk.py
This commit is contained in:
parent
4d4c364ba8
commit
5b81853c04
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
#------------------------------
|
||||
|
|
Loading…
Reference in a new issue