Change bash completion dir permissions to 0750
This is no reason for this dir to be world-readable. Change-Id: I50e85b5bb6116c64535ecbf09718141086c703c5
This commit is contained in:
@@ -273,7 +273,7 @@ class Manager(common_base.HookableMixin):
|
|||||||
cache_dir = os.path.expanduser(os.path.join(base_dir, uniqifier))
|
cache_dir = os.path.expanduser(os.path.join(base_dir, uniqifier))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
os.makedirs(cache_dir, 0o755)
|
os.makedirs(cache_dir, 0o750)
|
||||||
except OSError:
|
except OSError:
|
||||||
# NOTE(kiall): This is typically either permission denied while
|
# NOTE(kiall): This is typically either permission denied while
|
||||||
# attempting to create the directory, or the directory
|
# attempting to create the directory, or the directory
|
||||||
|
Reference in New Issue
Block a user