mkdir -p /var
chmod 0775 /var
mkdir -p /var/backups
chmod 0775 /var/backups
mkdir -p /var/cache
chmod 0775 /var/cache
mkdir -p /var/lib
chmod 0775 /var/lib
mkdir -p /var/lib/misc
chmod 0775 /var/lib/misc
mkdir -p /var/lock/subsys
chmod 0775 /var/lock/subsys
mkdir -p /var/log
chmod 0775 /var/log
mkdir -p /var/run
chmod 0775 /var/run
mkdir -p /var/spool
chmod 0775 /var/spool
mkdir -p /var/lock
chmod 1777 /var/lock
mkdir -p /var/tmp
chmod 1777 /var/tmp
mkdir -p /var/local
chmod 2775 /var/local
>/var/run/utmp
>/var/log/wtmp
>/var/log/lastlog
chmod 0664 /var/run/utmp /var/log/wtmp /var/log/lastlog
touch /var/run/resolv.conf
