-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Description
Apache Airflow version
2.2.3 (latest released)
What happened
The airflow home directory in the docker official image has rights:
drwxr-xr-x 1 airflow root 4096 Jan 9 19:49 /home/airflow/
It is not writable by the group. The "default" user created by entrypoint_prod.sh can not write in its home.
What you expected to happen
I expected the rights to be drwxrwxr-x /home/airflow as documented here: https://airflow.apache.org/docs/docker-stack/entrypoint.html
How to reproduce
try in a apache/ariflow:2.2.3 running container id xxxx:
sudo docker exec xxxx touch /home/airflow/iswritable
it fails with permission denied
Operating System
PRETTY_NAME="Debian GNU/Linux 10 (buster)" NAME="Debian GNU/Linux" VERSION_ID="10" VERSION="10 (buster)" VERSION_CODENAME=buster ID=debian HOME_URL="https://www.debian.org/" SUPPORT_URL="https://www.debian.org/support" BUG_REPORT_URL="https://bugs.debian.org/"
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
use the official docker-compose
Anything else
No response
Are you willing to submit PR?
- Yes I am willing to submit a PR!
Code of Conduct
- I agree to follow this project's Code of Conduct