The directory resources, that is automatically created by a Unix agent, is created with permission 777, all other directories of the agent are created 775. Changing the permissions manually does not help, as it is changed back as soon as the agent starts and deploys a job.
This behavior impacts the security policies to have a world writable folder. Furthermore, it is inconsistent, as the other directories are created with 775.
Upgrade the Unix agent to one of the fixed versions: