diff options
author | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-23 14:41:09 -0800 |
---|---|---|
committer | Aaron Griffin <aaronmgriffin@gmail.com> | 2008-12-23 14:41:09 -0800 |
commit | 0e4ff39e5a5c72b7d4e8d251d029d4342f68b7b6 (patch) | |
tree | 94732bbac5a436eb9b7a72db2c4f60e7d39be5c6 /rc.sysinit | |
parent | af3ac0dc954d96855555aa8cb12633494d465a77 (diff) | |
download | initscripts-0e4ff39e5a5c72b7d4e8d251d029d4342f68b7b6.tar.xz |
chmod /var/run/utmp to 664 when creating
This allows X terminals to write to /var/run/utmp
so that they are reported properly to commands like
who and w
Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-x | rc.sysinit | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -325,6 +325,7 @@ stat_busy "Removing Leftover Files" /bin/rm -f /forcefsck &>/dev/null (cd /var/run && /usr/bin/find . ! -type d -exec /bin/rm -f -- {} \; ) : > /var/run/utmp +/bin/chmod 0664 /var/run/utmp # Keep {x,k,g}dm happy with xorg /bin/mkdir /tmp/.ICE-unix && /bin/chmod 1777 /tmp/.ICE-unix /bin/mkdir /tmp/.X11-unix && /bin/chmod 1777 /tmp/.X11-unix |