patch code for task worker user/group set

patch code for task worker user/group set