The nohup.stdout file is filling up with the following message regardless if the running job is successful or is failure.
[/opt/CA/WorkloadAutomationAE/SystemAgent/Agent/spool/ACE_SCH/MAIN/WAAE_WF0.1/#######.#######_1.###############.joblog] can not be opened: [Permission denied]. The message is: <mm/dd/yyyy 12:45:14.602-0400 CAWA_I_20009 Successfully changed file owner and group for file
Agent 12.1 Sp1
This is a behavior change in RHEL and they have given a kernal parameter to control the behavior similar to previous versions.
1. Add the below parameter in /etc/sysctl.conf
fs.protected_regular=0
2. Reload the kernel parameters and the problem should be fixed .
sysctl -p /etc/sysctl.conf
Please refer the below kernel document : https://www.kernel.org/doc/Documentation/sysctl/fs.tx