Database index generated files belongs to docker daemon user

Which makes them belonging to root currently which is wrong.

It should be the user which currently runs the indexing or a specific UID.