When using gres and cgroup ConstrainDevices set correct access
permission for the batch step.