Fixed access rights for DPU template creation, closes #379.