Skip to content
Browse files

1297493, 1297485: Restrict visibility of subscription-manager caches.

  • Loading branch information...
awood committed May 25, 2016
1 parent b7116e9 commit 9dec31c377b57b4c98f845c018a5372d6f650d88
Showing with 5 additions and 5 deletions.
  1. +1 −1 Makefile
  2. +4 −4 subscription-manager.spec
@@ -248,7 +248,7 @@ install-files: dbus-service-install install-conf install-plugins install-post-bo
install -d $(PREFIX)/var/log/rhsm
install -d $(PREFIX)/var/spool/rhsm/debug
install -d $(PREFIX)/var/run/rhsm
install -d $(PREFIX)/var/lib/rhsm/{cache,facts,packages}
install -d -m 750 $(PREFIX)/var/lib/rhsm/{cache,facts,packages}

# Set up rhsmcertd daemon. If installing on Fedora or RHEL 7+
# we prefer systemd over sysv as this is the new trend.
@@ -335,10 +335,10 @@ rm -rf %{buildroot}
%attr(755,root,root) %dir %{_var}/log/rhsm
%attr(755,root,root) %dir %{_var}/spool/rhsm/debug
%attr(755,root,root) %dir %{_var}/run/rhsm
%attr(755,root,root) %dir %{_var}/lib/rhsm
%attr(755,root,root) %dir %{_var}/lib/rhsm/facts
%attr(755,root,root) %dir %{_var}/lib/rhsm/packages
%attr(755,root,root) %dir %{_var}/lib/rhsm/cache
%attr(750,root,root) %dir %{_var}/lib/rhsm
%attr(750,root,root) %dir %{_var}/lib/rhsm/facts
%attr(750,root,root) %dir %{_var}/lib/rhsm/packages
%attr(750,root,root) %dir %{_var}/lib/rhsm/cache


0 comments on commit 9dec31c

Please sign in to comment.
You can’t perform that action at this time.