thomasbruggink commented on PR #2937:
URL: https://github.com/apache/thrift/pull/2937#issuecomment-1999567932

   Ok I figured it out, the difference seems to be in using docker desktop 
which even on Linux runs another Linux VM inside.
   https://docs.docker.com/desktop/faqs/linuxfaqs/#how-do-i-enable-file-sharing
   File sharing under virtioFS seems to by default map all file permissions in 
the directory from the UID on the host to UID 0 (root) in the container.
   
   So instead the container on Linux with docker desktop should be build like:
   ```
   docker build -t thrift build/docker/ubuntu-jammy
   ```
   and can then be started as:
   ```
   docker run -v $(pwd):/thrift/src -it thrift /bin/bash
   ```
   inside the container all files will be root but on the host they will 
automatically be set to whatever the host runs.
   
   I still need to confirm if Mac behaves the same.
   
   @Jens-G could you try and see if the above instructions allow you to 
`./bootstrap.sh && ./configure && make dist` correctly?


-- 
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]

Reply via email to