SV-209039r603263_rule
V-209039
SRG-OS-000480
OL6-00-000337
CAT III
10
All directories in local partitions which are world-writable should be owned by root or another system account.
If any world-writable directories are not owned by a system account, this should be investigated.
Following this, the files should be deleted or assigned to an appropriate group.
The following command will discover and print world-writable directories that are not owned by a system account, given the assumption that only system accounts have a uid lower than 500. Run it once for each local partition [PART]:
# find [PART] -xdev -type d -perm -0002 -uid +500 -print
If there is output, this is a finding.
V-209039
False
OL6-00-000337
The following command will discover and print world-writable directories that are not owned by a system account, given the assumption that only system accounts have a uid lower than 500. Run it once for each local partition [PART]:
# find [PART] -xdev -type d -perm -0002 -uid +500 -print
If there is output, this is a finding.
M
2928