From f860d8b95fb950678767b3bdf3b61a36f3d190e5fddf00a749890d6313b72aa1 Mon Sep 17 00:00:00 2001 From: Larry Finger Date: Mon, 11 Sep 2017 00:35:53 +0000 Subject: [PATCH] Accepting request 522932 from home:msmeissn:branches:Virtualization - mark VBoxNetNAT with the correct permissions line. (bsc#1033425) OBS-URL: https://build.opensuse.org/request/show/522932 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=361 --- virtualbox.changes | 5 +++++ virtualbox.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/virtualbox.changes b/virtualbox.changes index 9ad6dc9..5107cf8 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Sep 10 16:18:04 UTC 2017 - meissner@suse.com + +- mark VBoxNetNAT with the correct permissions line. (bsc#1033425) + ------------------------------------------------------------------- Mon Aug 7 20:29:05 UTC 2017 - Larry.Finger@lwfinger.net diff --git a/virtualbox.spec b/virtualbox.spec index 32187a1..493927a 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -743,6 +743,7 @@ getent group vboxsf >/dev/null || groupadd -r vboxsf %post /sbin/ldconfig #setup our sysconfig file /etc/sysconfig/vbox +%set_permissions %{_vbox_instdir}/VBoxNetNAT %set_permissions %{_vbox_instdir}/VBoxNetDHCP %set_permissions %{_vbox_instdir}/VBoxNetAdpCtl %set_permissions %{_vbox_instdir}/VBoxHeadless @@ -753,6 +754,7 @@ getent group vboxsf >/dev/null || groupadd -r vboxsf %set_permissions %{_vbox_instdir}/VirtualBox %verifyscript +%verify_permissions -e %{_vbox_instdir}/VBoxNetNAT %verify_permissions -e %{_vbox_instdir}/VBoxNetDHCP %verify_permissions -e %{_vbox_instdir}/VBoxNetAdpCtl %verify_permissions -e %{_vbox_instdir}/VBoxHeadless @@ -890,7 +892,7 @@ export DISABLE_RESTART_ON_UPDATE=yes %{_sbindir}/rcvboxdrv /sbin/vboxconfig %{_vbox_instdir}/VBoxCreateUSBNode.sh -#%verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT +%verify(not mode) %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxNetNAT %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetDHCP %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxNetAdpCtl %verify(not mode) %attr(4750,root,vboxusers) %{_vbox_instdir}/VBoxHeadless