diff options
-rw-r--r-- | sbopkglint.d/10-docs.t.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbopkglint.d/10-docs.t.sh b/sbopkglint.d/10-docs.t.sh index f99a42a..912af64 100644 --- a/sbopkglint.d/10-docs.t.sh +++ b/sbopkglint.d/10-docs.t.sh @@ -41,7 +41,7 @@ if [ -d "$DOCDIR" ]; then # embedded backslashes. doubt that will be a real problem. find $DOCDIR -type f -perm /111 -print | while read f; do head -1 "$f" | grep -q '^#!' && continue; # script file, +x is OK - ls -ld "$f" >> .bad.$$ + ls -bld "$f" >> .bad.$$ done [ -s .bad.$$ ] && warn "bad file perms (should be 644, or at least 444) in doc dir:" && cat .bad.$$ |