forked from mirrors/linux-bench
commit
5224ea2152
2 changed files with 1 additions and 2 deletions
|
@ -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
|
|
@ -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: ""
|
||||
|
|
Loading…
Add table
Reference in a new issue