Ensure teamcity user has write access to the buildAgent.properties