President Mahinda Rajapaksa yesterday directed Sri Lanka Coast Conservation Department officials to take legal action against persons polluting the coastline and constructing unauthorized buildings