summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Harney <eharney@redhat.com>2018-12-05 10:48:29 -0500
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2019-03-21 17:20:06 -0400
commit77fec74c5b68130a409be87d29841b84f0da7564 (patch)
treeff040eba39a1506b5457dce45421735e09c4544c
parentd1b01aa2bdc2b4ce3bc37106738def33e1916b03 (diff)
downloadpython-cinderclient-77fec74c5b68130a409be87d29841b84f0da7564.tar.gz
Change bash completion dir permissions to 0750
This is no reason for this dir to be world-readable. Change-Id: I50e85b5bb6116c64535ecbf09718141086c703c5 (cherry picked from commit 5d2116e7476fb294d70e763a6022abd7322407dd)
-rw-r--r--cinderclient/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cinderclient/base.py b/cinderclient/base.py
index 85dffb6..4e8218d 100644
--- a/cinderclient/base.py
+++ b/cinderclient/base.py
@@ -273,7 +273,7 @@ class Manager(common_base.HookableMixin):
cache_dir = os.path.expanduser(os.path.join(base_dir, uniqifier))
try:
- os.makedirs(cache_dir, 0o755)
+ os.makedirs(cache_dir, 0o750)
except OSError:
# NOTE(kiall): This is typically either permission denied while
# attempting to create the directory, or the directory