loserwang1024 commented on issue #1854:
URL: https://github.com/apache/fluss/issues/1854#issuecomment-3689593176

   we can mounted data.dir and remote.data.dir into fluss dir by default.  Or 
we can read from a FLUSS_PROPERTIES and then chown it. @wuchong @leonardBang  , 
WDYT?
   
   ```shell
   # Change the owner of fluss directory after container start to make sure 
mounted files are accessible.
   chown -R fluss:fluss . || echo "Warning: Failed to change ownership"
   
   # Switch to fluss user to execute subsequent commands
   exec gosu fluss:fluss bash -c  "$@"
   
   ```


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