qiuyunbuyu commented on issue #1854: URL: https://github.com/apache/fluss/issues/1854#issuecomment-3521421187
> [@qiuyunbuyu](https://github.com/qiuyunbuyu) , just do it. hi @loserwang1024 While testing the process launch with gosu, I encountered an issue I'd like to discuss with you regarding the solution. When using a Docker volume mount, it automatically creates directories inside the container owned by the **root user and group**. Consequently, when the process is later started under the **fluss user**, it fails to create the storage directories because it lacks write permissions. <img width="2350" height="228" alt="Image" src="https://github.com/user-attachments/assets/fe1d9c6a-86b6-4a6b-8658-346373346f45" /> Would it be a viable solution to parse the **--env FLUSS_PROPERTIES** environment variable (https://fluss.apache.org/docs/install-deploy/deploying-with-docker/) to extract the values for **data.dir** and **remote.data.dir**, and then pre-create these storage directories in the docker-entrypoint.sh script with appropriate ownership/permissions? The part I'm unsure about is the key-value parsing in shell—it seems error-prone. I'm wondering if you have a more robust solution in mind? I look forward to your reply. -- 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]
