Returning ownership of directory after run completion