#!/usr/bin/env bash echo "Fixing runtime directory permissions..." chown $1 /srv/run || true chmod 775 /srv/run chown $1 $2 || true chmod 775 $2