Skip to content

Commit

Permalink
fix: correct security issue allowing kafka to change it own files
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfaircloth committed Dec 4, 2024
1 parent 1d163ba commit 07a78c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
dest: "{{ kafka__download_destination }}"
mode: "0644"
timeout: 30

retries: 3
delay: 3

Expand All @@ -81,8 +82,8 @@
src: "{{ kafka__download_destination }}"
copy: false
dest: "{{ kafka_download_directory }}"
owner: "{{ kafka_user }}"
group: "{{ kafka_user_group }}"
owner: "root"
group: "root"

- name: Configure Kafka symlink
become: true
Expand Down

0 comments on commit 07a78c2

Please sign in to comment.