rpm: set sgid for data directories

Make sure that contents belong to qubes group, even when created by root
user.
This commit is contained in:
Marek Marczykowski 2013-05-20 01:34:32 +02:00 committed by Marek Marczykowski-Górecki
parent 25ee58217d
commit c95dc298a1

View File

@ -314,13 +314,13 @@ fi
%{_unitdir}/qubes-vm@.service %{_unitdir}/qubes-vm@.service
%{_unitdir}/qubes-reload-firewall@.service %{_unitdir}/qubes-reload-firewall@.service
%{_unitdir}/qubes-reload-firewall@.timer %{_unitdir}/qubes-reload-firewall@.timer
%attr(0770,root,qubes) %dir /var/lib/qubes %attr(2770,root,qubes) %dir /var/lib/qubes
%attr(0770,root,qubes) %dir /var/lib/qubes/vm-templates %attr(2770,root,qubes) %dir /var/lib/qubes/vm-templates
%attr(0770,root,qubes) %dir /var/lib/qubes/appvms %attr(2770,root,qubes) %dir /var/lib/qubes/appvms
%attr(0770,root,qubes) %dir /var/lib/qubes/servicevms %attr(2770,root,qubes) %dir /var/lib/qubes/servicevms
%attr(0770,root,qubes) %dir /var/lib/qubes/backup %attr(2770,root,qubes) %dir /var/lib/qubes/backup
%attr(0770,root,qubes) %dir /var/lib/qubes/dvmdata %attr(2770,root,qubes) %dir /var/lib/qubes/dvmdata
%attr(0770,root,qubes) %dir /var/lib/qubes/vm-kernels %attr(2770,root,qubes) %dir /var/lib/qubes/vm-kernels
/usr/share/qubes/xen-vm-template.xml /usr/share/qubes/xen-vm-template.xml
/usr/share/qubes/vm-template-hvm.xml /usr/share/qubes/vm-template-hvm.xml
/usr/bin/xenstore-watch-qubes /usr/bin/xenstore-watch-qubes