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
This commit is contained in:
Larry Finger 2017-09-11 00:35:53 +00:00 committed by Git OBS Bridge
parent c6ad50c18b
commit f860d8b95f
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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