Teamcity Incompatible Runner

While using teamcity, we run into the issue where an agent changes and becomes incompatible with certain projects.  The message is “Incompatible Runner: Ant”.  We are using Maven.  I am not 100% sure that this is do to ownership.  But, when I see this message, I will login to the build server and run the following command:

chown -R appbuilder:ApprissUsers /opt/appriss/buildAgents

Then I restart the buildagents and everything is back to normal.  I believe that this error occurs because someone is restarting the agents without using the appbuilder user, like I mention in my other post about agents being down.