2
0

fixowns 213 B

12345678910
  1. #!/bin/bash
  2. echo "Fixing 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 fixed."