Fix common task files permissions and ownership