aboutsummaryrefslogtreecommitdiffstats
path: root/initscripts.spec
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2005-05-05 03:41:16 +0000
committerBill Nottingham <notting@redhat.com>2005-05-05 03:41:16 +0000
commitc54ccb321dd6828098c8d8c3cfd22cd752674c89 (patch)
tree3eaaad54fcefa7ab6c5d0199cf85753f5a7bfe5d /initscripts.spec
parentddb26fdbb3d9654f45aa20b32f0c042575e2b778 (diff)
downloadinitscripts-c54ccb321dd6828098c8d8c3cfd22cd752674c89.tar
initscripts-c54ccb321dd6828098c8d8c3cfd22cd752674c89.tar.gz
initscripts-c54ccb321dd6828098c8d8c3cfd22cd752674c89.tar.bz2
initscripts-c54ccb321dd6828098c8d8c3cfd22cd752674c89.tar.xz
initscripts-c54ccb321dd6828098c8d8c3cfd22cd752674c89.zip
btmp should be 0600 (#156900)
Diffstat (limited to 'initscripts.spec')
-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