Skip to content

Commit

Permalink
Don't try to set permissions recursively on cache+staging directory (#…
Browse files Browse the repository at this point in the history
…10900)

This should avoid permissions problems when the user creating the
directory and the user creating the content are different (when
containers images are saved by root for instances, because the user
can't use the container runtime).
  • Loading branch information
VannTen committed Feb 9, 2024
1 parent ad9f194 commit f5474ec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions roles/download/tasks/prep_download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
file:
path: "{{ local_release_dir }}/images"
state: directory
recurse: yes
mode: 0755
owner: "{{ ansible_ssh_user | default(ansible_user_id) }}"
when:
Expand All @@ -79,7 +78,6 @@
file:
path: "{{ download_cache_dir }}/images"
state: directory
recurse: yes
mode: 0755
delegate_to: localhost
connection: local
Expand Down

0 comments on commit f5474ec

Please sign in to comment.