aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initscripts.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/initscripts.spec b/initscripts.spec
index fc2413a8..a4760fe1 100644
--- a/initscripts.spec
+++ b/initscripts.spec
@@ -72,7 +72,8 @@ touch /var/log/wtmp
touch /var/run/utmp
touch /var/log/btmp
chown root:utmp /var/log/wtmp /var/run/utmp /var/log/btmp
-chmod 664 /var/log/wtmp /var/run/utmp /var/log/btmp
+chmod 664 /var/log/wtmp /var/run/utmp
+chmod 600 /var/log/btmp
/sbin/chkconfig --add netfs
/sbin/chkconfig --add network
@@ -202,7 +203,7 @@ rm -rf $RPM_BUILD_ROOT
%config /etc/ppp/ipv6-down
%config /etc/initlog.conf
%doc sysconfig.txt sysvinitfiles ChangeLog static-routes-ipv6 ipv6-tunnel.howto ipv6-6to4.howto changes.ipv6
-%ghost %attr(0664,root,utmp) /var/log/btmp
+%ghost %attr(0600,root,utmp) /var/log/btmp
%ghost %attr(0664,root,utmp) /var/log/wtmp
%ghost %attr(0664,root,utmp) /var/run/utmp