container: correctly calculate uid/gid maps
We were calculating the first range towards the ID of the executing user which is wrong if we want to map the current user to id 1000 inside the container. This corrects the code to calculate the first range until 1000-1, assigns 1000 to the current user and then continues to assign 1000+1 to the rest of the high-range ids we have allocated.
Showing
想要评论请 注册 或 登录