First pass at adding key files
This commit is contained in:
11
site/slowtwitch.com/cgi-bin/articles/admin/mysqlman/.perms
Executable file
11
site/slowtwitch.com/cgi-bin/articles/admin/mysqlman/.perms
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Remove compiled files
|
||||
rm -f templates/compiled/*.*
|
||||
|
||||
find . -type f -exec chmod 644 {} \;
|
||||
find . -type d -exec chmod 755 {} \;
|
||||
find . \( -name '*.pl' -or -name '*.cgi' -or -name '.perms' -or -name '*.sh' \) -exec chmod a+x {} \;
|
||||
find templates -maxdepth 1 -exec chmod a+wX {} \;
|
||||
|
||||
chmod a+x .perms
|
Reference in New Issue
Block a user