Revision 4bbf26f23b1923ddddbcd2f02c3bf5b8d6d1c39a authored by William Stein on 07 January 2022, 02:09:10 UTC, committed by William Stein on 07 January 2022, 02:09:10 UTC
1 parent 7a78c2c
Raw File
smc-fix-permissions.sh
#!/usr/bin/env bash
# fixes the permissions to 022
DIR=${1:-.}
time chmod a+r -R $DIR && find $DIR -perm /u+x -execdir chmod a+x {} \; && echo "OK"
back to top