Missing x on the chmod for os x