The Photon operating system must be configured so that all files have a valid owner and group owner.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-256563 | SRG-OS-000480-GPOS-00227 | PHTN-30-000094 | SV-256563r991589_rule | 2024-12-16 | 1 |
Description |
---|
If files do not have valid user and group owners, unintended access to files could occur. |
ℹ️ Check |
---|
At the command line, run the following command: # find / -fstype ext4 -nouser -o -nogroup -exec ls -ld {} \; 2>/dev/null If any files are returned, this is a finding. |
✔️ Fix |
---|
At the command line, run the following command for each returned file: # chown root:root <file> |