#!/bin/ash
# 
# post-install-script:
# This script is run at the end of  RLM's FW update. 
# After all the files are installed, permissions and uid/gid's are set 
# using this script.
#
# Usage: 
# post-install-script <mount point for primary or backup>
# 
# Kiran Kamity, 11/02/2004
#

echo "Running post-install-script"

if ! [ $# -eq 1 ] ; then
  echo "Incorrect usage"
  exit 1;
fi

 
chown root:root  $1/bin
chmod 755  $1/bin
chown root:root  $1/boot
chmod 755  $1/boot
chown root:root  $1/dev
chmod 755  $1/dev
chown root:root  $1/etc
chmod 755  $1/etc
chown root:root  $1/etc/cron.d
chmod 755  $1/etc/cron.d
chown root:root  $1/etc/cron.daily
chmod 700  $1/etc/cron.daily
chown root:root  $1/etc/cron.monthly
chmod 700  $1/etc/cron.monthly
chown root:root  $1/etc/cron.weekly
chmod 755  $1/etc/cron.weekly
chown root:root  $1/etc/default
chmod 755  $1/etc/default
chown root:root  $1/etc/init.d
chmod 755  $1/etc/init.d
chown root:root  $1/etc/logrotate.d
chmod 755  $1/etc/logrotate.d
chown root:root  $1/etc/network
chmod 755  $1/etc/network
chown root:root  $1/etc/network/if-down.d
chmod 755  $1/etc/network/if-down.d
chown root:root  $1/etc/network/if-post-down.d
chmod 755  $1/etc/network/if-post-down.d
chown root:root  $1/etc/network/if-pre-up.d
chmod 755  $1/etc/network/if-pre-up.d
chown root:root  $1/etc/network/if-up.d
chmod 755  $1/etc/network/if-up.d
chown root:root  $1/etc/opt
chmod 755  $1/etc/opt
chown root:root  $1/etc/pam.d
chmod 700  $1/etc/pam.d
chown root:root  $1/etc/rc.d
chmod 755  $1/etc/rc.d
chown root:root  $1/etc/rc.d/rc0.d
chmod 755  $1/etc/rc.d/rc0.d
chown root:root  $1/etc/rc.d/rc1.d
chmod 755  $1/etc/rc.d/rc1.d
chown root:root  $1/etc/rc.d/rc2.d
chmod 755  $1/etc/rc.d/rc2.d
chown root:root  $1/etc/rc.d/rc3.d
chmod 755  $1/etc/rc.d/rc3.d
chown root:root  $1/etc/rc.d/rc4.d
chmod 755  $1/etc/rc.d/rc4.d
chown root:root  $1/etc/rc.d/rc5.d
chmod 755  $1/etc/rc.d/rc5.d
chown root:root  $1/etc/rc.d/rc6.d
chmod 755  $1/etc/rc.d/rc6.d
chown root:root  $1/etc/rc.d/rcS.d
chmod 755  $1/etc/rc.d/rcS.d
chown root:root  $1/etc/skel
chmod 755  $1/etc/skel
chown root:root  $1/etc/snmp
chmod 755  $1/etc/snmp
chown root:root  $1/home
chmod 755  $1/home
chown root:root  $1/lib
chmod 755  $1/lib
chown root:root  $1/lib/iptables
chmod 700  $1/lib/iptables
chown root:root  $1/lib/modules
chmod 755  $1/lib/modules
chown root:root  $1/lib/modules/2.4.20
chmod 755  $1/lib/modules/2.4.20
chown root:root  $1/lib/modules/2.4.20/kernel
chmod 755  $1/lib/modules/2.4.20/kernel
chown root:root  $1/lib/modules/2.4.20/kernel/drivers
chmod 755  $1/lib/modules/2.4.20/kernel/drivers
chown root:root  $1/lib/modules/2.4.20/kernel/drivers/char
chmod 755  $1/lib/modules/2.4.20/kernel/drivers/char
chown root:root  $1/mnt
chmod 755  $1/mnt
chown root:root  $1/mnt/nfsxfer
chmod 755  $1/mnt/nfsxfer
chown root:root  $1/mnt/logs
chmod 755  $1/mnt/logs
chown root:root  $1/opt
chmod 755  $1/opt
chown root:root  $1/proc
chmod 755  $1/proc
chown root:root  $1/root
chmod 4700  $1/root
chown root:root  $1/sbin
chmod 755  $1/sbin
chown root:root  $1/tmp
chmod 1777  $1/tmp
chown netapp:netapp  $1/usr
chmod 755  $1/usr
chown root:root  $1/usr/bin
chmod 755  $1/usr/bin
chown root:root  $1/usr/include
chmod 755  $1/usr/include
chown netapp:netapp  $1/usr/lib
chmod 755  $1/usr/lib
chown root:root  $1/usr/lib/mime
chmod 700  $1/usr/lib/mime
chown root:root  $1/usr/lib/mime/packages
chmod 700  $1/usr/lib/mime/packages
chown root:root  $1/usr/lib/perl
chmod 755  $1/usr/lib/perl
chown root:root  $1/usr/lib/perl/5.6.1
chmod 755  $1/usr/lib/perl/5.6.1
chown root:root  $1/usr/lib/perl5
chmod 755  $1/usr/lib/perl5
chown root:root  $1/usr/lib/pml
chmod 700  $1/usr/lib/pml
chown root:root  $1/usr/lib/pml/packages
chmod 700  $1/usr/lib/pml/packages
chown netapp:netapp  $1/usr/local
chmod 755  $1/usr/local
chown netapp:netapp  $1/usr/local/bin
chmod 755  $1/usr/local/bin
chown root:root  $1/usr/local/include
chmod 755  $1/usr/local/include
chown root:root  $1/usr/local/lib
chmod 755  $1/usr/local/lib
chown root:root  $1/usr/local/man
chmod 755  $1/usr/local/man
chown root:root  $1/usr/local/man/man1
chmod 755  $1/usr/local/man/man1
chown root:root  $1/usr/local/man/man2
chmod 755  $1/usr/local/man/man2
chown root:root  $1/usr/local/man/man3
chmod 755  $1/usr/local/man/man3
chown root:root  $1/usr/local/man/man4
chmod 755  $1/usr/local/man/man4
chown root:root  $1/usr/local/man/man5
chmod 755  $1/usr/local/man/man5
chown root:root  $1/usr/local/man/man6
chmod 755  $1/usr/local/man/man6
chown root:root  $1/usr/local/man/man7
chmod 755  $1/usr/local/man/man7
chown root:root  $1/usr/local/man/man8
chmod 755  $1/usr/local/man/man8
chown root:root  $1/usr/local/sbin
chmod 755  $1/usr/local/sbin
chown root:root  $1/usr/local/share
chmod 755  $1/usr/local/share
chown root:root  $1/usr/local/src
chmod 755  $1/usr/local/src
chown netapp:netapp  $1/usr/local/module
chmod 755  $1/usr/local/module
chown netapp:netapp  $1/usr/local/hlp
chmod 755  $1/usr/local/hlp
chown root:root  $1/usr/sbin
chmod 755  $1/usr/sbin
chown root:root  $1/usr/share
chmod 755  $1/usr/share
chown root:root  $1/usr/share/doc
chmod 755  $1/usr/share/doc
chown root:root  $1/usr/share/info
chmod 755  $1/usr/share/info
chown root:root  $1/usr/share/locale
chmod 755  $1/usr/share/locale
chown root:root  $1/usr/share/man
chmod 755  $1/usr/share/man
chown root:root  $1/usr/share/misc
chmod 755  $1/usr/share/misc
chown root:root  $1/usr/share/nls
chmod 755  $1/usr/share/nls
chown root:root  $1/usr/share/perl
chmod 755  $1/usr/share/perl
chown root:root  $1/usr/share/perl/5.6.1
chmod 755  $1/usr/share/perl/5.6.1
chown root:root  $1/usr/share/perl5
chmod 755  $1/usr/share/perl5
chown root:root  $1/usr/share/snmp
chmod 700  $1/usr/share/snmp
chown root:root  $1/usr/share/snmp/mibs
chmod 755  $1/usr/share/snmp/mibs
chown root:root  $1/usr/share/snmp/snmpconf
chmod 700  $1/usr/share/snmp/snmpconf
chown root:root  $1/usr/share/snmp/snmpconf/snmpd.conf
chmod 755  $1/usr/share/snmp/snmpconf/snmpd.conf
chown root:root  $1/usr/share/snmp/snmpconf/snmptrapd.conf
chmod 755  $1/usr/share/snmp/snmpconf/snmptrapd.conf
chown root:root  $1/usr/src
chmod 755  $1/usr/src
chown root:root  $1/var
chmod 755  $1/var
chown root:root  $1/install
chmod 755  $1/install
chown root:root  $1/bin/ash
chmod 755  $1/bin/ash
chown root:root  $1/bin/busybox
chmod 755  $1/bin/busybox
chown root:root  $1/bin/chroot
chmod 755  $1/bin/chroot
chown root:root  $1/bin/dnsdomainname
chmod 755  $1/bin/dnsdomainname
chown root:root  $1/bin/hostname
chmod 755  $1/bin/hostname
chown root:root  $1/bin/mktemp
chmod 755  $1/bin/mktemp
chown root:root  $1/bin/readlink
chmod 755  $1/bin/readlink
chown root:root  $1/bin/run-parts
chmod 755  $1/bin/run-parts
chown root:root  $1/bin/sed
chmod 755  $1/bin/sed
chown root:root  $1/bin/tempfile
chmod 755  $1/bin/tempfile
chown root:root  $1/bin/tinylogin
chmod 755  $1/bin/tinylogin
chown root:root  $1/bin/usleep
chmod 755  $1/bin/usleep
chown root:root  $1/etc/checksecurity.conf
chmod 644  $1/etc/checksecurity.conf
chown root:root  $1/etc/cron.daily/logrotate
chmod 755  $1/etc/cron.daily/logrotate
chown root:root  $1/etc/cron.monthly/standard
chmod 755  $1/etc/cron.monthly/standard
chown root:root  $1/etc/crontab
chmod 666  $1/etc/crontab
chown root:root  $1/etc/default/devpts
chmod 755  $1/etc/default/devpts
chown root:root  $1/etc/default/rcS
chmod 755  $1/etc/default/rcS
chown root:root  $1/etc/default/snmpd
chmod 644  $1/etc/default/snmpd
chown root:root  $1/etc/default/ssh
chmod 644  $1/etc/default/ssh
chown root:root  $1/etc/dhclient.conf
chmod 644  $1/etc/dhclient.conf
chown root:root  $1/etc/fstab
chmod 644  $1/etc/fstab
chown root:root  $1/etc/gateways
chmod 644  $1/etc/gateways
chown root:root  $1/etc/group
chmod 644  $1/etc/group
chown root:root  $1/etc/hhl-arch
chmod 755  $1/etc/hhl-arch
chown root:root  $1/etc/host.conf
chmod 644  $1/etc/host.conf
chown root:root  $1/etc/hosts
chmod 644  $1/etc/hosts
chown root:root  $1/etc/init.d/README
chmod 644  $1/etc/init.d/README
chown root:root  $1/etc/init.d/bootmisc.sh
chmod 755  $1/etc/init.d/bootmisc.sh
chown root:root  $1/etc/init.d/checkfs.sh
chmod 755  $1/etc/init.d/checkfs.sh
chown root:root  $1/etc/init.d/checkroot.sh
chmod 755  $1/etc/init.d/checkroot.sh
chown root:root  $1/etc/init.d/cron
chmod 755  $1/etc/init.d/cron
chown root:root  $1/etc/init.d/devpts.sh
chmod 755  $1/etc/init.d/devpts.sh
chown root:root  $1/etc/init.d/devshm.sh
chmod 755  $1/etc/init.d/devshm.sh
chown root:root  $1/etc/init.d/halt
chmod 755  $1/etc/init.d/halt
chown root:root  $1/etc/init.d/hostname.sh
chmod 755  $1/etc/init.d/hostname.sh
chown root:root  $1/etc/init.d/ifupdown
chmod 755  $1/etc/init.d/ifupdown
chown root:root  $1/etc/init.d/klog
chmod 755  $1/etc/init.d/klog
chown root:root  $1/etc/init.d/mountall.sh
chmod 755  $1/etc/init.d/mountall.sh
chown root:root  $1/etc/init.d/mountnfs.sh
chmod 755  $1/etc/init.d/mountnfs.sh
chown root:root  $1/etc/init.d/networking
chmod 755  $1/etc/init.d/networking
chown root:root  $1/etc/init.d/nscd
chmod 755  $1/etc/init.d/nscd
chown root:root  $1/etc/init.d/portmap
chmod 755  $1/etc/init.d/portmap
chown root:root  $1/etc/init.d/rc
chmod 755  $1/etc/init.d/rc
chown root:root  $1/etc/init.d/rcS
chmod 755  $1/etc/init.d/rcS
chown root:root  $1/etc/init.d/reboot
chmod 755  $1/etc/init.d/reboot
chown root:root  $1/etc/init.d/rmnologin
chmod 755  $1/etc/init.d/rmnologin
chown root:root  $1/etc/init.d/sendsigs
chmod 755  $1/etc/init.d/sendsigs
chown root:root  $1/etc/init.d/single
chmod 755  $1/etc/init.d/single
chown root:root  $1/etc/init.d/skeleton
chmod 755  $1/etc/init.d/skeleton
chown root:root  $1/etc/init.d/snmpd
chmod 755  $1/etc/init.d/snmpd
chown root:root  $1/etc/init.d/ssh
chmod 755  $1/etc/init.d/ssh
chown root:root  $1/etc/init.d/syslog
chmod 755  $1/etc/init.d/syslog
chown root:root  $1/etc/init.d/umountfs
chmod 755  $1/etc/init.d/umountfs
chown root:root  $1/etc/init.d/umountnfs.sh
chmod 755  $1/etc/init.d/umountnfs.sh
chown root:root  $1/etc/init.d/urandom
chmod 755  $1/etc/init.d/urandom
chown root:root  $1/etc/init.d/firewall
chmod 755  $1/etc/init.d/firewall
chown root:root  $1/etc/init.d/killdhclient
chmod 555  $1/etc/init.d/killdhclient
chown root:root  $1/etc/init.d/netapp_final_initscript
chmod 755  $1/etc/init.d/netapp_final_initscript
chown root:root  $1/etc/init.d/netapp_initial_initscript
chmod 755  $1/etc/init.d/netapp_initial_initscript
chown root:root  $1/etc/inputrc
chmod 644  $1/etc/inputrc
chown root:root  $1/etc/issue
chmod 644  $1/etc/issue
chown root:root  $1/etc/issue.net
chmod 644  $1/etc/issue.net
chown root:root  $1/etc/logrotate.conf
chmod 444  $1/etc/logrotate.conf
chown root:root  $1/etc/logrotate.d/syslog
chmod 644  $1/etc/logrotate.d/syslog
chown root:root  $1/etc/network/check-mac-address.sh
chmod 755  $1/etc/network/check-mac-address.sh
chown root:root  $1/etc/network/get-mac-address.sh
chmod 755  $1/etc/network/get-mac-address.sh
chown root:root  $1/etc/network/if-post-down.d/killdhclient
chmod 755  $1/etc/network/if-post-down.d/killdhclient
chown root:root  $1/etc/network/options
chmod 644  $1/etc/network/options
chown root:root  $1/etc/network/pcmcia-compat.sh
chmod 755  $1/etc/network/pcmcia-compat.sh
chown root:root  $1/etc/network/ping-places.sh
chmod 755  $1/etc/network/ping-places.sh
chown root:root  $1/etc/nsswitch.conf
chmod 644  $1/etc/nsswitch.conf
chown root:root  $1/etc/pam.d/cron
chmod 644  $1/etc/pam.d/cron
chown root:root  $1/etc/pam.d/ssh
chmod 644  $1/etc/pam.d/ssh
chown root:root  $1/etc/passwd
chmod 644  $1/etc/passwd
chown root:root  $1/etc/profile
chmod 644  $1/etc/profile
chown root:root  $1/etc/protocols
chmod 644  $1/etc/protocols
chown root:root  $1/etc/rc.d/rcS.d/README
chmod 644  $1/etc/rc.d/rcS.d/README
chown root:root  $1/etc/rpc
chmod 644  $1/etc/rpc
chown root:root  $1/etc/services
chmod 644  $1/etc/services
chown root:root  $1/etc/shells
chmod 644  $1/etc/shells
chown root:root  $1/etc/snmp/snmptrapd.conf
chmod 644  $1/etc/snmp/snmptrapd.conf
chown root:root  $1/etc/syslog.conf
chmod 444  $1/etc/syslog.conf
chown root:root  $1/etc/wgetrc
chmod 644  $1/etc/wgetrc
chown root:root  $1/etc/inittab
chmod 644  $1/etc/inittab
chown root:root  $1/etc/watcher.conf
chmod 644  $1/etc/watcher.conf
chown root:root  $1/etc/rsa_cert.txt
chmod 644  $1/etc/rsa_cert.txt
chown root:root  $1/lib/iptables/libip6t_MARK.so
chmod 644  $1/lib/iptables/libip6t_MARK.so
chown root:root  $1/lib/iptables/libip6t_limit.so
chmod 644  $1/lib/iptables/libip6t_limit.so
chown root:root  $1/lib/iptables/libip6t_mac.so
chmod 644  $1/lib/iptables/libip6t_mac.so
chown root:root  $1/lib/iptables/libip6t_mark.so
chmod 644  $1/lib/iptables/libip6t_mark.so
chown root:root  $1/lib/iptables/libip6t_multiport.so
chmod 644  $1/lib/iptables/libip6t_multiport.so
chown root:root  $1/lib/iptables/libip6t_owner.so
chmod 644  $1/lib/iptables/libip6t_owner.so
chown root:root  $1/lib/iptables/libip6t_standard.so
chmod 644  $1/lib/iptables/libip6t_standard.so
chown root:root  $1/lib/iptables/libip6t_tcp.so
chmod 644  $1/lib/iptables/libip6t_tcp.so
chown root:root  $1/lib/iptables/libip6t_udp.so
chmod 644  $1/lib/iptables/libip6t_udp.so
chown root:root  $1/lib/iptables/libipt_DNAT.so
chmod 644  $1/lib/iptables/libipt_DNAT.so
chown root:root  $1/lib/iptables/libipt_LOG.so
chmod 644  $1/lib/iptables/libipt_LOG.so
chown root:root  $1/lib/iptables/libipt_MARK.so
chmod 644  $1/lib/iptables/libipt_MARK.so
chown root:root  $1/lib/iptables/libipt_MASQUERADE.so
chmod 644  $1/lib/iptables/libipt_MASQUERADE.so
chown root:root  $1/lib/iptables/libipt_MIRROR.so
chmod 644  $1/lib/iptables/libipt_MIRROR.so
chown root:root  $1/lib/iptables/libipt_REDIRECT.so
chmod 644  $1/lib/iptables/libipt_REDIRECT.so
chown root:root  $1/lib/iptables/libipt_REJECT.so
chmod 644  $1/lib/iptables/libipt_REJECT.so
chown root:root  $1/lib/iptables/libipt_SAME.so
chmod 644  $1/lib/iptables/libipt_SAME.so
chown root:root  $1/lib/iptables/libipt_SNAT.so
chmod 644  $1/lib/iptables/libipt_SNAT.so
chown root:root  $1/lib/iptables/libipt_TCPMSS.so
chmod 644  $1/lib/iptables/libipt_TCPMSS.so
chown root:root  $1/lib/iptables/libipt_TOS.so
chmod 644  $1/lib/iptables/libipt_TOS.so
chown root:root  $1/lib/iptables/libipt_TTL.so
chmod 644  $1/lib/iptables/libipt_TTL.so
chown root:root  $1/lib/iptables/libipt_ULOG.so
chmod 644  $1/lib/iptables/libipt_ULOG.so
chown root:root  $1/lib/iptables/libipt_ah.so
chmod 644  $1/lib/iptables/libipt_ah.so
chown root:root  $1/lib/iptables/libipt_esp.so
chmod 644  $1/lib/iptables/libipt_esp.so
chown root:root  $1/lib/iptables/libipt_icmp.so
chmod 644  $1/lib/iptables/libipt_icmp.so
chown root:root  $1/lib/iptables/libipt_iplimit.so
chmod 644  $1/lib/iptables/libipt_iplimit.so
chown root:root  $1/lib/iptables/libipt_limit.so
chmod 644  $1/lib/iptables/libipt_limit.so
chown root:root  $1/lib/iptables/libipt_mac.so
chmod 644  $1/lib/iptables/libipt_mac.so
chown root:root  $1/lib/iptables/libipt_mark.so
chmod 644  $1/lib/iptables/libipt_mark.so
chown root:root  $1/lib/iptables/libipt_multiport.so
chmod 644  $1/lib/iptables/libipt_multiport.so
chown root:root  $1/lib/iptables/libipt_owner.so
chmod 644  $1/lib/iptables/libipt_owner.so
chown root:root  $1/lib/iptables/libipt_standard.so
chmod 644  $1/lib/iptables/libipt_standard.so
chown root:root  $1/lib/iptables/libipt_state.so
chmod 644  $1/lib/iptables/libipt_state.so
chown root:root  $1/lib/iptables/libipt_tcp.so
chmod 644  $1/lib/iptables/libipt_tcp.so
chown root:root  $1/lib/iptables/libipt_tcpmss.so
chmod 644  $1/lib/iptables/libipt_tcpmss.so
chown root:root  $1/lib/iptables/libipt_tos.so
chmod 644  $1/lib/iptables/libipt_tos.so
chown root:root  $1/lib/iptables/libipt_ttl.so
chmod 644  $1/lib/iptables/libipt_ttl.so
chown root:root  $1/lib/iptables/libipt_udp.so
chmod 644  $1/lib/iptables/libipt_udp.so
chown root:root  $1/lib/iptables/libipt_unclean.so
chmod 644  $1/lib/iptables/libipt_unclean.so
chown root:root  $1/lib/ld-2.3.2.so
chmod 755  $1/lib/ld-2.3.2.so
chown root:root  $1/lib/libc-2.3.2.so
chmod 755  $1/lib/libc-2.3.2.so
chown root:root  $1/lib/libcrypt-2.3.2.so
chmod 644  $1/lib/libcrypt-2.3.2.so
chown root:root  $1/lib/libdl-2.3.2.so
chmod 644  $1/lib/libdl-2.3.2.so
chown root:root  $1/lib/libm-2.3.2.so
chmod 644  $1/lib/libm-2.3.2.so
chown root:root  $1/lib/libnsl-2.3.2.so
chmod 644  $1/lib/libnsl-2.3.2.so
chown root:root  $1/lib/libnss_files-2.3.2.so
chmod 644  $1/lib/libnss_files-2.3.2.so
chown root:root  $1/lib/libpam.so.0.72
chmod 755  $1/lib/libpam.so.0.72
chown root:root  $1/lib/libpam_misc.so.0.72
chmod 755  $1/lib/libpam_misc.so.0.72
chown root:root  $1/lib/libpamc.so.0.72
chmod 755  $1/lib/libpamc.so.0.72
chown root:root  $1/lib/libpthread-0.10.so
chmod 644  $1/lib/libpthread-0.10.so
chown root:root  $1/lib/libresolv-2.3.2.so
chmod 644  $1/lib/libresolv-2.3.2.so
chown root:root  $1/lib/librt-2.3.2.so
chmod 644  $1/lib/librt-2.3.2.so
chown root:root  $1/lib/libutil-2.3.2.so
chmod 644  $1/lib/libutil-2.3.2.so
chown root:root  $1/lib/libwrap.so.0.7.6
chmod 644  $1/lib/libwrap.so.0.7.6
chown root:root  $1/lib/libnss_dns-2.3.2.so
chmod 644  $1/lib/libnss_dns-2.3.2.so
chown root:root  $1/sbin/dhclient
chmod 755  $1/sbin/dhclient
chown root:root  $1/sbin/dhclient-script
chmod 755  $1/sbin/dhclient-script
chown root:root  $1/sbin/fsck.nfs
chmod 755  $1/sbin/fsck.nfs
chown root:root  $1/sbin/ifdown
chmod 755  $1/sbin/ifdown
chown root:root  $1/sbin/ifup
chmod 755  $1/sbin/ifup
chown root:root  $1/sbin/iptables
chmod 755  $1/sbin/iptables
chown root:root  $1/sbin/klogd
chmod 500  $1/sbin/klogd
chown root:root  $1/sbin/pivot_root
chmod 755  $1/sbin/pivot_root
chown root:root  $1/sbin/pmap_dump
chmod 755  $1/sbin/pmap_dump
chown root:root  $1/sbin/pmap_set
chmod 755  $1/sbin/pmap_set
chown root:root  $1/sbin/portmap
chmod 755  $1/sbin/portmap
chown root:root  $1/sbin/start-stop-daemon
chmod 755  $1/sbin/start-stop-daemon
chown root:root  $1/sbin/syslogd
chmod 500  $1/sbin/syslogd
chown root:root  $1/sbin/netapp_init
chmod 755  $1/sbin/netapp_init
chown root:root  $1/usr/bin/crontab
chmod 4755  $1/usr/bin/crontab
chown root:root  $1/usr/bin/diff
chmod 755  $1/usr/bin/diff
chown root:root  $1/usr/bin/fromdos
chmod 755  $1/usr/bin/fromdos
chown root:root  $1/usr/bin/getent
chmod 755  $1/usr/bin/getent
chown root:root  $1/usr/bin/lsdev
chmod 755  $1/usr/bin/lsdev
chown root:root  $1/usr/bin/md5sum
chmod 755  $1/usr/bin/md5sum
chown root:root  $1/usr/bin/perl
chmod 755  $1/usr/bin/perl
chown root:root  $1/usr/bin/savelog
chmod 755  $1/usr/bin/savelog
chown root:root  $1/usr/bin/sensible-editor
chmod 755  $1/usr/bin/sensible-editor
chown root:root  $1/usr/bin/sensible-pager
chmod 755  $1/usr/bin/sensible-pager
chown root:root  $1/usr/bin/split
chmod 755  $1/usr/bin/split
chown root:root  $1/usr/bin/ssh-keygen
chmod 755  $1/usr/bin/ssh-keygen
chown root:root  $1/usr/bin/wget
chmod 755  $1/usr/bin/wget
chown root:root  $1/usr/lib/libcrypto.so.0.9.7
chmod 644  $1/usr/lib/libcrypto.so.0.9.7
chown root:root  $1/usr/lib/libpopt.so.0.0.0
chmod 755  $1/usr/lib/libpopt.so.0.0.0
chown root:root  $1/usr/lib/libz.so.1.1.4
chmod 644  $1/usr/lib/libz.so.1.1.4
chown root:root  $1/usr/lib/mime/packages/util-linux
chmod 644  $1/usr/lib/mime/packages/util-linux
chown root:root  $1/usr/lib/pml/packages/dhcp-client
chmod 644  $1/usr/lib/pml/packages/dhcp-client
chown root:root  $1/usr/lib/pt_chown
chmod 4755  $1/usr/lib/pt_chown
chown netapp:netapp  $1/usr/lib/libxyssl.so
chmod 755  $1/usr/lib/libxyssl.so
chown netapp:netapp  $1/usr/lib/libspcrypt.so
chmod 755  $1/usr/lib/libspcrypt.so
chown netapp:netapp  $1/usr/local/bin/intestfixture
chmod 755  $1/usr/local/bin/intestfixture
chown netapp:netapp  $1/usr/local/bin/cpld_reader
chmod 755  $1/usr/local/bin/cpld_reader
chown netapp:netapp  $1/usr/local/bin/pktd_reader
chmod 755  $1/usr/local/bin/pktd_reader
chown netapp:netapp  $1/usr/local/bin/pktd_writer
chmod 755  $1/usr/local/bin/pktd_writer
chown netapp:netapp  $1/usr/local/bin/watcher
chmod 755  $1/usr/local/bin/watcher
chown netapp:netapp  $1/usr/local/bin/rlm_stats
chmod 755  $1/usr/local/bin/rlm_stats
chown netapp:netapp  $1/usr/local/bin/dbgd
chmod 755  $1/usr/local/bin/dbgd
chown netapp:netapp  $1/usr/local/bin/loopd
chmod 755  $1/usr/local/bin/loopd
chown netapp:netapp  $1/usr/local/bin/diagd
chmod 755  $1/usr/local/bin/diagd
chown netapp:netapp  $1/usr/local/bin/diag
chmod 755  $1/usr/local/bin/diag
chown netapp:netapp  $1/usr/local/bin/eth_link_phys_up
chmod 755  $1/usr/local/bin/eth_link_phys_up
chown netapp:netapp  $1/usr/local/bin/miitool
chmod 755  $1/usr/local/bin/miitool
chown netapp:netapp  $1/usr/local/bin/seld
chmod 755  $1/usr/local/bin/seld
chown netapp:netapp  $1/usr/local/bin/selpktd
chmod 755  $1/usr/local/bin/selpktd
chown netapp:netapp  $1/usr/local/bin/agentd
chmod 755  $1/usr/local/bin/agentd
chown netapp:netapp  $1/usr/local/bin/eventd
chmod 755  $1/usr/local/bin/eventd
chown netapp:netapp  $1/usr/local/bin/sel
chmod 755  $1/usr/local/bin/sel
chown netapp:netapp  $1/usr/local/bin/sensor
chmod 755  $1/usr/local/bin/sensor
chown netapp:netapp  $1/usr/local/bin/agent
chmod 755  $1/usr/local/bin/agent
chown netapp:netapp  $1/usr/local/bin/sensor_smb
chmod 755  $1/usr/local/bin/sensor_smb
chown netapp:netapp  $1/usr/local/bin/agent_rw
chmod 755  $1/usr/local/bin/agent_rw
chown netapp:netapp  $1/usr/local/bin/scr
chmod 755  $1/usr/local/bin/scr
chown netapp:netapp  $1/usr/local/bin/dumper
chmod 755  $1/usr/local/bin/dumper
chown netapp:netapp  $1/usr/local/bin/logger
chmod 755  $1/usr/local/bin/logger
chown netapp:netapp  $1/usr/local/bin/coll_diags
chmod 755  $1/usr/local/bin/coll_diags
chown netapp:netapp  $1/usr/local/bin/healthd
chmod 755  $1/usr/local/bin/healthd
chown netapp:netapp  $1/usr/local/bin/rsacli
chmod 755  $1/usr/local/bin/rsacli
chown netapp:netapp  $1/usr/local/bin/rsad
chmod 755  $1/usr/local/bin/rsad
chown netapp:netapp  $1/usr/local/bin/strip_html_tags.sh
chmod 755  $1/usr/local/bin/strip_html_tags.sh
chown netapp:netapp  $1/usr/local/bin/f2rbeat
chmod 755  $1/usr/local/bin/f2rbeat
chown netapp:netapp  $1/usr/local/bin/r2fbeat
chmod 755  $1/usr/local/bin/r2fbeat
chown netapp:netapp  $1/usr/local/bin/asupd
chmod 755  $1/usr/local/bin/asupd
chown netapp:netapp  $1/usr/local/bin/orftp_rcvr
chmod 755  $1/usr/local/bin/orftp_rcvr
chown netapp:netapp  $1/usr/local/bin/orftp_sender
chmod 755  $1/usr/local/bin/orftp_sender
chown netapp:netapp  $1/usr/local/bin/tuples
chmod 4755  $1/usr/local/bin/tuples
chown netapp:netapp  $1/usr/local/bin/trapd
chmod 755  $1/usr/local/bin/trapd
chown netapp:netapp  $1/usr/local/bin/fud_sp
chmod 755  $1/usr/local/bin/fud_sp
chown netapp:netapp  $1/usr/local/bin/rlm_gdb
chmod 755  $1/usr/local/bin/rlm_gdb
chown root:root  $1/usr/local/bin/fud_eth
chmod 4755  $1/usr/local/bin/fud_eth
chown netapp:netapp  $1/usr/local/bin/configd
chmod 755  $1/usr/local/bin/configd
chown netapp:netapp  $1/usr/local/bin/set_debugmode.sh
chmod 755  $1/usr/local/bin/set_debugmode.sh
chown netapp:netapp  $1/usr/local/bin/cli
chmod 755  $1/usr/local/bin/cli
chown netapp:netapp  $1/usr/local/bin/fw_printenv
chmod 755  $1/usr/local/bin/fw_printenv
chown netapp:netapp  $1/usr/local/bin/ontap_conf.sh
chmod 755  $1/usr/local/bin/ontap_conf.sh
chown netapp:netapp  $1/usr/local/bin/rlm_conf.sh
chmod 755  $1/usr/local/bin/rlm_conf.sh
chown netapp:netapp  $1/usr/local/bin/rlm_cli_log_audit.sh
chmod 755  $1/usr/local/bin/rlm_cli_log_audit.sh
chown netapp:netapp  $1/usr/local/bin/rlm_cli_version.sh
chmod 755  $1/usr/local/bin/rlm_cli_version.sh
chown netapp:netapp  $1/usr/local/bin/rlm_cli_events_search.sh
chmod 755  $1/usr/local/bin/rlm_cli_events_search.sh
chown netapp:netapp  $1/usr/local/bin/compute_file_diffs
chmod 755  $1/usr/local/bin/compute_file_diffs
chown netapp:netapp  $1/usr/local/bin/ipaddr.sh
chmod 755  $1/usr/local/bin/ipaddr.sh
chown netapp:netapp  $1/usr/local/bin/token.sh
chmod 755  $1/usr/local/bin/token.sh
chown netapp:netapp  $1/usr/local/bin/agent_state.sh
chmod 755  $1/usr/local/bin/agent_state.sh
chown netapp:netapp  $1/usr/local/bin/version.sh
chmod 755  $1/usr/local/bin/version.sh
chown netapp:netapp  $1/usr/local/bin/gdb_modes.sh
chmod 755  $1/usr/local/bin/gdb_modes.sh
chown netapp:netapp  $1/usr/local/bin/burnImage.sh
chmod 755  $1/usr/local/bin/burnImage.sh
chown netapp:netapp  $1/usr/local/bin/debug.sh
chmod 755  $1/usr/local/bin/debug.sh
chown netapp:netapp  $1/usr/local/bin/rlmcli_status.sh
chmod 755  $1/usr/local/bin/rlmcli_status.sh
chown netapp:netapp  $1/usr/local/bin/is_spectre.sh
chmod 755  $1/usr/local/bin/is_spectre.sh
chown netapp:netapp  $1/usr/local/bin/get_pwr_status.sh
chmod 755  $1/usr/local/bin/get_pwr_status.sh
chown netapp:netapp  $1/usr/local/bin/net_link_up.sh
chmod 755  $1/usr/local/bin/net_link_up.sh
chown netapp:netapp  $1/usr/local/bin/spectre_net_link_up.sh
chmod 755  $1/usr/local/bin/spectre_net_link_up.sh
chown netapp:netapp  $1/usr/local/bin/install_fw
chmod 755  $1/usr/local/bin/install_fw
chown netapp:netapp  $1/usr/local/bin/version
chmod 755  $1/usr/local/bin/version
chown netapp:netapp  $1/usr/local/module/procfsfile.o
chmod 755  $1/usr/local/module/procfsfile.o
chown netapp:netapp  $1/usr/local/module/ecc.o
chmod 755  $1/usr/local/module/ecc.o
chown netapp:netapp  $1/usr/local/module/agentdrv.o
chmod 755  $1/usr/local/module/agentdrv.o
chown netapp:netapp  $1/usr/local/module/luna_wdog.o
chmod 755  $1/usr/local/module/luna_wdog.o
chown netapp:netapp  $1/usr/local/hlp/rsa_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_setup_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_setup_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_setup_http_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_setup_http_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_setup_policy_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_setup_policy_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_setup_proxy_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_setup_proxy_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_setup_rse_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_setup_rse_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_show_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_show_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_show_http_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_show_http_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_show_policy_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_show_policy_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_show_proxy_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_show_proxy_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_show_rse_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_show_rse_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_status_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_status_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_test_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_test_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_test_http_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_test_http_hlp.txt
chown netapp:netapp  $1/usr/local/hlp/rsa_test_rse_hlp.txt
chmod 644  $1/usr/local/hlp/rsa_test_rse_hlp.txt
chown root:root  $1/usr/sbin/checksecurity
chmod 755  $1/usr/sbin/checksecurity
chown root:root  $1/usr/sbin/cron
chmod 755  $1/usr/sbin/cron
chown root:root  $1/usr/sbin/erase
chmod 755  $1/usr/sbin/erase
chown root:root  $1/usr/sbin/eraseall
chmod 755  $1/usr/sbin/eraseall
chown root:root  $1/usr/sbin/initdconfig
chmod 755  $1/usr/sbin/initdconfig
chown root:root  $1/usr/sbin/lock
chmod 755  $1/usr/sbin/lock
chown root:root  $1/usr/sbin/logrotate
chmod 755  $1/usr/sbin/logrotate
chown root:root  $1/usr/sbin/shellconfig
chmod 755  $1/usr/sbin/shellconfig
chown root:root  $1/usr/sbin/sshd
chmod 755  $1/usr/sbin/sshd
chown root:root  $1/usr/sbin/unlock
chmod 755  $1/usr/sbin/unlock
chown root:root  $1/usr/share/snmp/snmpconf/snmpd.conf/acl
chmod 755  $1/usr/share/snmp/snmpconf/snmpd.conf/acl
chown root:root  $1/usr/share/snmp/snmpconf/snmpd.conf/basic_setup
chmod 755  $1/usr/share/snmp/snmpconf/snmpd.conf/basic_setup
chown root:root  $1/usr/share/snmp/snmpconf/snmpd.conf/extending
chmod 755  $1/usr/share/snmp/snmpconf/snmpd.conf/extending
chown root:root  $1/usr/share/snmp/snmpconf/snmpd.conf/monitor
chmod 755  $1/usr/share/snmp/snmpconf/snmpd.conf/monitor
chown root:root  $1/usr/share/snmp/snmpconf/snmpd.conf/operation
chmod 755  $1/usr/share/snmp/snmpconf/snmpd.conf/operation
chown root:root  $1/usr/share/snmp/snmpconf/snmpd.conf/system
chmod 755  $1/usr/share/snmp/snmpconf/snmpd.conf/system
chown root:root  $1/usr/share/snmp/snmpconf/snmpd.conf/trapsinks
chmod 755  $1/usr/share/snmp/snmpconf/snmpd.conf/trapsinks
chown root:root  $1/usr/share/snmp/snmpconf/snmptrapd.conf/formatting
chmod 755  $1/usr/share/snmp/snmpconf/snmptrapd.conf/formatting
chown root:root  $1/usr/share/snmp/snmpconf/snmptrapd.conf/traphandle
chmod 755  $1/usr/share/snmp/snmpconf/snmptrapd.conf/traphandle
chown root:root  $1/install/checksum.regfiles
chmod 644  $1/install/checksum.regfiles
chown root:root  $1/install/info.symlinks
chmod 644  $1/install/info.symlinks
chown root:root  $1/install/post-install-script
chmod 755  $1/install/post-install-script
chown -h root:root  $1/bin/cat
chown -h root:root  $1/bin/chgrp
chown -h root:root  $1/bin/chmod
chown -h root:root  $1/bin/chown
chown -h root:root  $1/bin/cp
chown -h root:root  $1/bin/date
chown -h root:root  $1/bin/dd
chown -h root:root  $1/bin/df
chown -h root:root  $1/bin/dmesg
chown -h root:root  $1/bin/echo
chown -h root:root  $1/bin/false
chown -h root:root  $1/bin/grep
chown -h root:root  $1/bin/gunzip
chown -h root:root  $1/bin/gzip
chown -h root:root  $1/bin/kill
chown -h root:root  $1/bin/ln
chown -h root:root  $1/bin/login
chown -h root:root  $1/bin/ls
chown -h root:root  $1/bin/mkdir
chown -h root:root  $1/bin/mknod
chown -h root:root  $1/bin/more
chown -h root:root  $1/bin/mount
chown -h root:root  $1/bin/mv
chown -h root:root  $1/bin/pidof
chown -h root:root  $1/bin/ps
chown -h root:root  $1/bin/pwd
chown -h root:root  $1/bin/rm
chown -h root:root  $1/bin/rmdir
chown -h root:root  $1/bin/sh
chown -h root:root  $1/bin/sleep
chown -h root:root  $1/bin/stty
chown -h root:root  $1/bin/su
chown -h root:root  $1/bin/sync
chown -h root:root  $1/bin/tar
chown -h root:root  $1/bin/touch
chown -h root:root  $1/bin/true
chown -h root:root  $1/bin/umount
chown -h root:root  $1/bin/uname
chown -h root:root  $1/bin/zcat
chown -h root:root  $1/etc/motd
chown -h root:root  $1/etc/mtab
chown -h root:root  $1/etc/network/interfaces
chown -h root:root  $1/etc/network/ifstate
chown -h root:root  $1/etc/rc.d/init.d
chown -h root:root  $1/etc/rc.d/rc0.d/K10portmap
chown -h root:root  $1/etc/rc.d/rc0.d/K11cron
chown -h root:root  $1/etc/rc.d/rc0.d/K19nscd
chown -h root:root  $1/etc/rc.d/rc0.d/K20snmpd
chown -h root:root  $1/etc/rc.d/rc0.d/K20ssh
chown -h root:root  $1/etc/rc.d/rc0.d/K30urandom
chown -h root:root  $1/etc/rc.d/rc0.d/K90klog
chown -h root:root  $1/etc/rc.d/rc0.d/K90syslog
chown -h root:root  $1/etc/rc.d/rc0.d/S20sendsigs
chown -h root:root  $1/etc/rc.d/rc0.d/S31umountnfs.sh
chown -h root:root  $1/etc/rc.d/rc0.d/S40umountfs
chown -h root:root  $1/etc/rc.d/rc0.d/S90halt
chown -h root:root  $1/etc/rc.d/rc6.d/K10portmap
chown -h root:root  $1/etc/rc.d/rc6.d/K11cron
chown -h root:root  $1/etc/rc.d/rc6.d/K19nscd
chown -h root:root  $1/etc/rc.d/rc6.d/K20snmpd
chown -h root:root  $1/etc/rc.d/rc6.d/K20ssh
chown -h root:root  $1/etc/rc.d/rc6.d/K30urandom
chown -h root:root  $1/etc/rc.d/rc6.d/K90syslog
chown -h root:root  $1/etc/rc.d/rc6.d/S20sendsigs
chown -h root:root  $1/etc/rc.d/rc6.d/S31umountnfs.sh
chown -h root:root  $1/etc/rc.d/rc6.d/S40umountfs
chown -h root:root  $1/etc/rc.d/rc6.d/S90reboot
chown -h root:root  $1/etc/rc.d/rcS.d/S10checkroot.sh
chown -h root:root  $1/etc/rc.d/rcS.d/S30checkfs.sh
chown -h root:root  $1/etc/rc.d/rcS.d/S35devpts.sh
chown -h root:root  $1/etc/rc.d/rcS.d/S35devshm.sh
chown -h root:root  $1/etc/rc.d/rcS.d/S35mountall.sh
chown -h root:root  $1/etc/rc.d/rcS.d/S39ifupdown
chown -h root:root  $1/etc/rc.d/rcS.d/S40hostname.sh
chown -h root:root  $1/etc/rc.d/rcS.d/S40networking
chown -h root:root  $1/etc/rc.d/rcS.d/S41portmap
chown -h root:root  $1/etc/rc.d/rcS.d/S45mountnfs.sh
chown -h root:root  $1/etc/rc.d/rcS.d/S55bootmisc.sh
chown -h root:root  $1/etc/rc.d/rcS.d/S55urandom
chown -h root:root  $1/etc/rc.d/rcS.d/S01netapp_initial_initscript
chown -h root:root  $1/etc/rc.d/rcS.d/S99netapp_final_initscript
chown -h root:root  $1/etc/rc.d/rcS.d/S20ssh
chown -h root:root  $1/etc/rc.d/rcS.d/S10syslog
chown -h root:root  $1/etc/rc.d/rcS.d/S10klog
chown -h root:root  $1/etc/rc.d/rcS.d/S41firewall
chown -h root:root  $1/etc/rc.d/rcS.d/S11cron
chown -h root:root  $1/etc/resolv.conf
chown -h root:root  $1/etc/ssh
chown -h root:root  $1/etc/motd.tmp
chown -h root:root  $1/etc/hostname
chown -h root:root  $1/lib/ld.so.1
chown -h root:root  $1/lib/libc.so.6
chown -h root:root  $1/lib/libcrypt.so.1
chown -h root:root  $1/lib/libdl.so.2
chown -h root:root  $1/lib/libm.so.6
chown -h root:root  $1/lib/libnsl.so.1
chown -h root:root  $1/lib/libnss_files.so.2
chown -h root:root  $1/lib/libpam.so.0
chown -h root:root  $1/lib/libpam_misc.so.0
chown -h root:root  $1/lib/libpamc.so.0
chown -h root:root  $1/lib/libpthread.so.0
chown -h root:root  $1/lib/libresolv.so.2
chown -h root:root  $1/lib/librt.so.1
chown -h root:root  $1/lib/libutil.so.1
chown -h root:root  $1/lib/libwrap.so.0
chown -h root:root  $1/lib/libnss_dns.so.2
chown -h root:root  $1/sbin/getty
chown -h root:root  $1/sbin/halt
chown -h root:root  $1/sbin/ifconfig
chown -h root:root  $1/sbin/init
chown -h root:root  $1/sbin/insmod
chown -h root:root  $1/sbin/lsmod
chown -h root:root  $1/sbin/mkswap
chown -h root:root  $1/sbin/modprobe
chown -h root:root  $1/sbin/reboot
chown -h root:root  $1/sbin/rmmod
chown -h root:root  $1/sbin/route
chown -h root:root  $1/sbin/swapoff
chown -h root:root  $1/sbin/swapon
chown -h root:root  $1/usr/bin/[
chown -h root:root  $1/usr/bin/basename
chown -h root:root  $1/usr/bin/cut
chown -h root:root  $1/usr/bin/dirname
chown -h root:root  $1/usr/bin/du
chown -h root:root  $1/usr/bin/env
chown -h root:root  $1/usr/bin/expr
chown -h root:root  $1/usr/bin/free
chown -h root:root  $1/usr/bin/head
chown -h root:root  $1/usr/bin/id
chown -h root:root  $1/usr/bin/killall
chown -h root:root  $1/usr/bin/logger
chown -h root:root  $1/usr/bin/mkfifo
chown -h root:root  $1/usr/bin/passwd
chown -h root:root  $1/usr/bin/perl5.6.1
chown -h root:root  $1/usr/bin/reset
chown -h root:root  $1/usr/bin/sort
chown -h root:root  $1/usr/bin/tail
chown -h root:root  $1/usr/bin/test
chown -h root:root  $1/usr/bin/tr
chown -h root:root  $1/usr/bin/uniq
chown -h root:root  $1/usr/bin/unix2dos
chown -h root:root  $1/usr/bin/uptime
chown -h root:root  $1/usr/bin/wc
chown -h root:root  $1/usr/bin/which
chown -h root:root  $1/usr/bin/whoami
chown -h root:root  $1/usr/bin/xargs
chown -h root:root  $1/usr/bin/yes
chown -h root:root  $1/usr/lib/libpopt.so
chown -h root:root  $1/usr/lib/libpopt.so.0
chown -h root:root  $1/usr/lib/libz.so.1
chown -h root:root  $1/usr/local/bin/fw_setenv
chown -h root:root  $1/usr/local/bin/fw_setenvm
chown -h root:root  $1/usr/sbin/addgroup
chown -h root:root  $1/usr/sbin/adduser
chown -h root:root  $1/usr/sbin/chroot
chown -h root:root  $1/usr/sbin/delgroup
chown -h root:root  $1/usr/sbin/deluser
chown -h root:root  $1/usr/sbin/ppc_405-initdconfig
chown -h root:root  $1/usr/sbin/ppc_405-shellconfig
chown root:root  /mnt/logs/etc
chmod 755  /mnt/logs/etc
chown root:root  /mnt/logs/etc/ssh
chmod 755  /mnt/logs/etc/ssh
chown root:root  /mnt/logs/var
chmod 755  /mnt/logs/var
chown root:root  /mnt/logs/var/netapp
chmod 755  /mnt/logs/var/netapp
chown root:root  /mnt/logs/var/netapp/log
chmod 755  /mnt/logs/var/netapp/log
chown root:root  /mnt/logs/var/netapp/spool
chmod 755  /mnt/logs/var/netapp/spool
chown root:root  /mnt/logs/etc/ssh/moduli
chmod 444  /mnt/logs/etc/ssh/moduli
chown root:root  /mnt/logs/etc/ssh/sshd_config
chmod 444  /mnt/logs/etc/ssh/sshd_config
chown root:root  /mnt/logs/etc/interfaces
chmod 444  /mnt/logs/etc/interfaces
