freedombonee/tests/check-world-writable.sh

6 lines
94 B
Bash
Raw Normal View History

#!/bin/bash
if [ "$(find / -xdev -type f -perm -002 | wc -l)" -ne 0 ];then
exit 1
fi