Closed Miwer closed 2 years ago
Hi @Miwer , That could be a good feature. Do you have a Docker image that do so?
Do you have a Docker image that do so?
Not exactly. I made a wrapper script in my bind volume, and replaced the entrypoint to call that script instead, which sets the umask and then executes the original docker-entrypoint.sh afterwards.
But all that needs changing would be the docker-entrypoint.sh to check for the presence of an environment variable, and run umask before the radicale service.
PR welcome, don't forget to add an integration tests.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue was closed because it has been stalled for 14 days with no activity.
Hi,
It would be great if the docker-entrypoint.sh could support providing a UMASK variable, and set this using the umask command before running radicale. Currently data files created by this image is readable by "all", but I would like to use umask 027, so only owner/group ID is able to read the data files.
Thanks ;)