Ensure 0755 default mode on new directories
This patch ensures that all directories under `/openstack/venvs` are created with `0755` permissions by default. This prevents permission denied errors when running certain commands from the virtual environment. Change-Id: I6a5fbdd16dd2558341c7e7d647a18b5028471315
This commit is contained in:
parent
11b18da984
commit
272a77eff5
@ -73,6 +73,7 @@
|
||||
file:
|
||||
path: "{{ trove_bin | dirname }}"
|
||||
state: directory
|
||||
mode: "0755"
|
||||
register: trove_venv_dir
|
||||
|
||||
- name: Unarchive pre-built venv
|
||||
|
@ -39,7 +39,7 @@
|
||||
group: "{{ item.group|default(trove_system_group_name) }}"
|
||||
mode: "{{ item.mode|default('0755') }}"
|
||||
with_items:
|
||||
- { path: "/openstack", owner: "root", group: "root" }
|
||||
- { path: "/openstack/venvs", owner: "root", group: "root" }
|
||||
- { path: "/etc/trove" }
|
||||
- { path: "{{ trove_system_user_home }}" }
|
||||
- { path: "/var/lib/trove/tmp" }
|
||||
|
Loading…
x
Reference in New Issue
Block a user