New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/34131#issuecomment-972918081 Comment: Hopefully it works now. I decided to include https://github.com/owncloud/client/commit/d987a7e7cb19367d708e21f9ef881afecffe35a3 as-is and add a patch on top which just replaces `getuid()` by `0` in two places so the logic is very clear. When this commit makes it into a release, we can just drop that patch and keep the second one.