chmod lib/teamcity-server correctly