[jenkins-ci PATCH] guests: Fix ~/.ccache ownership

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The directory and the files contained within need to be owned
by the user or compilation will fail, either loudly or silently
depending on the OS, due to missing write permissions.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 guests/tasks/users.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/guests/tasks/users.yml b/guests/tasks/users.yml
index 6134228..87693e0 100644
--- a/guests/tasks/users.yml
+++ b/guests/tasks/users.yml
@@ -55,8 +55,12 @@
   file:
     path: /home/{{ flavor }}/.ccache
     state: directory
+    owner: '{{ flavor }}'
+    group: '{{ flavor }}'
 
 - name: '{{ flavor }}: Configure ccache'
   copy:
     src: files/ccache.conf
     dest: /home/{{ flavor }}/.ccache/ccache.conf
+    owner: '{{ flavor }}'
+    group: '{{ flavor }}'
-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux