You encounter a Canned ADMIN.Security_Report failure on your Workload Automation DE (WLA DE) server. The tracelog.txt file shows an AccessDeniedException when the system attempts to create a temporary directory within <path_where_DE_is_installed>/temp/r/. The error message indicates that the report execution cannot proceed due to insufficient permissions.
Product: CA Workload Automation DE v12.x
Operating System: Unix/Linux
The java.nio.file.AccessDeniedException occurs because the <path_where_DE_is_installed>/temp/r/ directory has incorrect ownership or permissions. Specifically, the directory is owned by root instead of the user account running the CA Workload Automation DE service, preventing the service from writing necessary temporary files.
To resolve the AccessDeniedException for the Canned ADMIN.Security_Report, you must correct the ownership of the <path_where_DE_is_installed>/temp/r/ directory.
bash cd <path_where_DE_is_installed>/temp/bash ls -ld rroot as the owner.r directory.
chown command to change the owner and group to the user account that runs your CA Workload Automation DE service:bash sudo chown -R <owner>:<owners_group> rCanned ADMIN.Security_Report. The report should now complete successfully.