Can you disable the "Fixing data perms..." task in the docker image?

I am trying to set up OwnCloud in my test Kubernetes cluster. For “reasons” I’m pointing at my existing, non-k8s, test data folder and test mysql db.

Unfortunately, my test data folder has a LOT of data in it. So the “Fixing data perms…” task is taking long enough that k8s restarts the container before it finishes.

So, is there a way to disable that task?

Also, does that task run every time, or does it detect that perms are correct and skip once perms are correct?

Thanks!

I also answered in the chat (ownCloud Talk):

You might want to set these environment variables to skip chown and chmod steps:

OWNCLOUD_SKIP_CHOWN=true
OWNCLOUD_SKIP_CHMOD=true

They are implemented here: https://github.com/owncloud-docker/base/blob/master/v20.04/overlay/etc/owncloud.d/25-chown.sh#L3

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.