captaincore/lib/remote-scripts/reset-permissions
Austin Ginder 7b56bf46c1 👌 IMPROVE: Docs
2026-03-13 08:40:56 -10:00

9 lines
No EOL
206 B
Bash

#!/usr/bin/env bash
#
# Reset file and folder permissions to defaults
#
echo "Resetting file and folder permissions to defaults"
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;