-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
Security 2022-02-07, Security 2022-02-21
-
52
The testPermissionDeniedOnRotation() test in log_rotate_command_errors.js assumes that the server is running as a non-root user, so that it can remove write permissions on the directory containing audit.log and cause the server to fail when renaming the audit.log file on rotation. This does not work on some build variants that runs the test as the "root" user, so this test should not run if the user is root.