nguyenmphu opened a new issue, #34496: URL: https://github.com/apache/airflow/issues/34496
### What do you see as an issue? When I ran the docker-compose file from the docs: https://github.com/apache/airflow/blob/main/docs/apache-airflow/howto/docker-compose/docker-compose.yaml, I found the permission denied error. This error makes the application crash.  ### Solving the problem I found that the script in the airflow-init service changed the owner to the wrong directory. By default, the volume is mounted to the `/opt/airflow` (https://github.com/apache/airflow/blob/main/docs/apache-airflow/howto/docker-compose/docker-compose.yaml#L76). But the init service mounts this directory to the `/sources` and change owner to the airflow user (https://github.com/apache/airflow/blob/main/docs/apache-airflow/howto/docker-compose/docker-compose.yaml#L248). ### Anything else _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
