Skip to content

Commit f82226e

Browse files
committed
Add mode for files and dirs
The aim is to enable risky-file-permissions linter.
1 parent 74bcbde commit f82226e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hooks/playbooks/fetch_compute_facts.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
ansible.builtin.copy:
1818
dest: "/etc/yum.repos.d/"
1919
src: "{{ cifmw_basedir }}/artifacts/repositories/"
20-
mode: "0644"
20+
mode: "0755"
2121

2222
- name: Build dataset hook
2323
hosts: localhost

playbooks/update.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
remote_src: true
2525
src: "{{ cifmw_basedir }}/artifacts/repositories/"
2626
dest: "{{ cifmw_basedir }}/artifacts/before_update_repos/"
27-
mode: "0644"
27+
mode: "0755"
2828

2929
- name: Run repo_setup
3030
ansible.builtin.include_role:
@@ -49,7 +49,7 @@
4949
ansible.builtin.copy:
5050
dest: "/etc/yum.repos.d/"
5151
src: "{{ cifmw_basedir }}/artifacts/repositories/"
52-
mode: "0644"
52+
mode: "0755"
5353

5454
- name: Run Ceph update if part of the deployment
5555
hosts: "{{ (groups[cifmw_ceph_target | default('computes')] | default([]))[:1] }}"

roles/build_openstack_packages/tasks/create_repo.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
remote_src: true
4040
src: "{{ _repodir.path }}/"
4141
dest: "{{ cifmw_bop_gating_repo_dest }}"
42-
mode: "0644"
42+
mode: "0755"
4343

4444
- name: Add gating.repo file to install the required built packages
4545
ansible.builtin.copy:

0 commit comments

Comments
 (0)