From 70c4136836921000484d8c39586f3cb5aab76d9d Mon Sep 17 00:00:00 2001 From: Wong Hoi Sing Edison Date: Mon, 10 May 2021 12:03:42 +0800 Subject: [PATCH] Bugfix Additional Disks Storage File Ownership For additional disk image created by `lib/vagrant-libvirt/action/create_domain.rb`, it is now incorrectly hard-coded with `group: storage_uid(env)`, so even QEMU process is running with `root:libvirt` but file is still owned by `root:root`. Signed-off-by: Wong Hoi Sing Edison --- lib/vagrant-libvirt/action/create_domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-libvirt/action/create_domain.rb b/lib/vagrant-libvirt/action/create_domain.rb index eac27f6..cb082c1 100644 --- a/lib/vagrant-libvirt/action/create_domain.rb +++ b/lib/vagrant-libvirt/action/create_domain.rb @@ -198,7 +198,7 @@ module VagrantPlugins path: disk[:absolute_path], capacity: disk[:size], owner: storage_uid(env), - group: storage_uid(env), + group: storage_gid(env), #:allocation => ?, pool_name: disk_pool_name )