From 22fbccee6b2546a6d8c405a76a59615de841d2c6 Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 16 Jul 2011 01:58:23 +0200 Subject: [PATCH] dom0+vm: download updates as normal user (#198) --- common/qubes_download_dom0_updates.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/qubes_download_dom0_updates.sh b/common/qubes_download_dom0_updates.sh index 244462e..8ca153e 100755 --- a/common/qubes_download_dom0_updates.sh +++ b/common/qubes_download_dom0_updates.sh @@ -54,5 +54,4 @@ else yumdownloader --destdir "$DOM0_UPDATES_DIR/packages" --installroot "$DOM0_UPDATES_DIR" $PKGLIST fi -# qvm-copy-to-vm works only from user -su -c "/usr/lib/qubes/qrexec_client_vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent $DOM0_UPDATES_DIR/packages/*.rpm" user +/usr/lib/qubes/qrexec_client_vm dom0 qubes.ReceiveUpdates /usr/lib/qubes/qfile-agent $DOM0_UPDATES_DIR/packages/*.rpm