fixowns 219 B

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