EC2000

1 minute readReference

Synopsis

WARNING EC2000: [agent]: agent reports: [Error in mkdir([path]): Permission denied]

Description

This error indicates that the agent was unable to create a directory to store temporary files during the execution of the build.

Reasons

The most likely cause of this specific error is that the agent is installed on a Linux system that has SELinux enabled. This subsystem must be disabled in order for CloudBees Build Acceleration agents to operate correctly.

Fixes

On most variants of Linux, SELinux can be disabled by modifying /etc/selinux/config so that it contains SELINUX=disabled instead of SELINUX=enforcing.