#!/bin/bash echo "Correcting filesystem ownerships..." if [ -z "$1" ]; then bin/rootnotty chown -R app:app /var/www/ else bin/rootnotty chown -R app:app /var/www/html/$1 fi echo "Filesystem ownerships corrected."