Merge pull request #16 from yoavrotems/patch-8

Update 1.1.25.sh
This commit is contained in:
Liz Rice 2019-10-10 09:58:44 +01:00 committed by GitHub
commit 5224ea2152
Failed to generate hash of commit
2 changed files with 1 additions and 2 deletions

View file

@ -1 +0,0 @@
df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -type d \( -perm -0002 -a ! -perm -1000 \) 2>/dev/null

View file

@ -563,7 +563,7 @@ groups:
- id: 1.1.25
description: "Ensure sticky bit is set on all world-writable directories"
audit: "./1.1.25.sh"
audit: "df --local -P | awk {'if (NR!=1) print $6'} | xargs -I '{}' find '{}' -xdev -type d \\( -perm -0002 -a ! -perm -1000 \\) 2>/dev/null | head -n 100"
tests:
test_items:
- flag: ""