hughpearse commented on PR #4162: URL: https://github.com/apache/calcite/pull/4162#issuecomment-2612100901
> I think the uid and gid of the generated files needs to be set to the `id -u` and `id -g` of the GH actions runner for it to work correctly. In the original docker build it runs as root https://github.com/apache/calcite/blob/main/site/docker-compose.yml#L26C1-L28C26 ``` foo@host$ sudo docker run -t -i --entrypoint /bin/bash jekyll/jekyll:4 bash-5.1# whoami root bash-5.1# id uid=0(root) gid=0(root) groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video) ``` In the new docker build, it also runs as root, same as before. ``` foo@host$ sudo docker run -t -i --entrypoint /bin/bash ruby:3.3.7-slim-bullseye root@154758938c85:/# whoami root root@154758938c85:/# id uid=0(root) gid=0(root) groups=0(root) ``` I think the jekyll userid and groupid should continue to work - what are your thoughts @F21 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
