Skip to content
Permalink
Browse files Browse the repository at this point in the history
1297493, 1297485: Restrict visibility of subscription-manager caches.
  • Loading branch information
awood committed May 25, 2016
1 parent b7116e9 commit 9dec31c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -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.
Expand Down
8 changes: 4 additions & 4 deletions subscription-manager.spec
Expand Up @@ -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

%{_sysconfdir}/bash_completion.d/subscription-manager
%{_sysconfdir}/bash_completion.d/rct
Expand Down

0 comments on commit 9dec31c

Please sign in to comment.