change ownership of task directory to running user