From dddd1b975c827ac9aa008fa83b976c87405113ea Mon Sep 17 00:00:00 2001 From: Vitezslav Crhonek Date: Thu, 1 Dec 2011 12:15:27 +0100 Subject: [PATCH] Fix post created symlinks group owner to 'pegasus' --- tog-pegasus.spec | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/tog-pegasus.spec b/tog-pegasus.spec index 610a8ce..837f708 100644 --- a/tog-pegasus.spec +++ b/tog-pegasus.spec @@ -8,7 +8,7 @@ Name: tog-pegasus Version: %{major_ver}.1 -Release: 1%{?dist} +Release: 2%{?dist} Epoch: 2 Summary: OpenPegasus WBEM Services for Linux @@ -413,11 +413,27 @@ if [ $1 -eq 1 ]; then # Create Symbolic Links for Packaged Provider Managers # ln -sf libCMPIProviderManager.so.1 /usr/%PEGASUS_ARCH_LIB/Pegasus/providerManagers/libCMPIProviderManager.so + + # Change ownership of Symbolic Links to the 'pegasus' group + # + /bin/chgrp -h pegasus /usr/%{_lib}/libpegclient.so + /bin/chgrp -h pegasus /usr/%{_lib}/libpegcommon.so + /bin/chgrp -h pegasus /usr/%{_lib}/libpegprovider.so + /bin/chgrp -h pegasus /usr/%{_lib}/libDefaultProviderManager.so + /bin/chgrp -h pegasus /usr/%{_lib}/libCIMxmlIndicationHandler.so + /bin/chgrp -h pegasus /usr/%{_lib}/libsnmpIndicationHandler.so + /bin/chgrp -h pegasus /usr/%{_lib}/Pegasus/providers/libComputerSystemProvider.so + /bin/chgrp -h pegasus /usr/%{_lib}/Pegasus/providers/libOSProvider.so + /bin/chgrp -h pegasus /usr/%{_lib}/Pegasus/providers/libProcessProvider.so + /bin/chgrp -h pegasus /usr/%{_lib}/Pegasus/providerManagers/libCMPIProviderManager.so fi :; %changelog +* Thu Dec 01 2011 Vitezslav Crhonek - 2:2.11.1-2 +- Fix post created symlinks group owner to 'pegasus' + * Tue Sep 27 2011 Vitezslav Crhonek - 2:2.11.1-1 - Update to upstream version 2.11.1 - Add explicit file attributes where RPM requires it