iriusrisk / bdd-security

BDD Automated Security Tests for Web Applications
http://www.continuumsecurity.net/bdd-intro.html
GNU Affero General Public License v3.0
563 stars 178 forks source link

Remove execute permissions from files in repo #35

Closed iriusrisk closed 9 years ago

iriusrisk commented 9 years ago

A lot of files have execute permission when pulled from github. A few suggestions to fix (via bash).

for f in $(find . -type f -executable -regextype posix-extended -iregex '.+?.((java)|(jar)|(xml)|(js)|(ftl)|(css)|(properties)|(jpg)|(jpeg)|(png)|(gif)|(sample)|(story)|(txt)|(md))'); do chmod -x "$f"; done

for f in $(find . -type f -name '.DS_Store'); do rm $f; done

After the clean-up, this more or less looks like the set of things that needs to be executable.

find . -type f -executable ./console.sh ./drivers/chromedriver-linux32 ./drivers/chromedriver-linux64 ./drivers/chromedriver-mac ./drivers/chromedriver.exe ./runconfig.sh ./runscenario.sh ./runstory.sh ./zap/zap.sh