jonathanhu237 commented on issue #3540:
URL: https://github.com/apache/doris-website/issues/3540#issuecomment-4232404923

   One additional issue I encountered while following the same Docker workflow 
is Git's "detected dubious ownership in repository" error.
   
   This happened in my case during the build process when the source tree was 
mounted from the host into the container. Since the current guide recommends 
mounting the local Doris source directory into the container, I thik this may 
also affect other users in similar environments.
   
   In my environment, this could be worked around with:
   
   ```
   git config --global --add safe.directory /root/doris 
   git config --global --add safe.directory /root/doris/\*
   ```
   
   It may be helpful to mention this as a troubleshooting note, or to clarify 
the expected ownershop / user setup for mounted repositories in the 
Docker-based build workflow.


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to