#!/bin/sh
set -x

chmod ug+rwx ${HOME}

# runtime user will need to be able to self-insert in /etc/passwd
chmod g=u /etc/passwd

# no need for this script to remain in the image after running
rm $0
