1.87 ALMA-09-012560

Information

All AlmaLinux OS 9 local files and directories must have a valid owner.

GROUP ID: V-269190
RULE ID: SV-269190r1050072

Unowned files and directories may be unintentionally inherited if a user is assigned the same user identifier "UID" as the UID of the unowned files.

Solution

Either remove all files and directories from the system that do not have a valid user, or assign a valid user to all unowned files and directories on AlmaLinux OS 9 with the "chown" command:

$ chown <user> <file>

See Also

https://workbench.cisecurity.org/benchmarks/27039