#!/bin/bash echo " * Fixing permissions" chown -R root:root /root/ chown -R ipng:ipng /home/ipng/ [ -r /etc/rc.local ] && chmod 755 /etc/rc.local