Skip to content
Snippets Groups Projects
Unverified Commit f5474ec6 authored by Max Gautier's avatar Max Gautier Committed by GitHub
Browse files

Don't try to set permissions recursively on cache+staging directory (#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).
parent ad9f194c
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......@@ -79,7 +78,6 @@
file:
path: "{{ download_cache_dir }}/images"
state: directory
recurse: yes
mode: 0755
delegate_to: localhost
connection: local
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment