libreofficedocker / libreoffice-unoserver

A packaged unoserver with REST APIs using Libreoffice in Docker
Apache License 2.0
10 stars 5 forks source link

runs as root #8

Open disarticulate opened 5 months ago

disarticulate commented 5 months ago

How do we set this image up to run as a user (uid/gid)?

socheatsok78 commented 4 months ago

The underlying container uses s6-overlay as init system. Since s6-overlay required read/write to rootfs, we only able to drop priv on the subprocess only. Is that what you looking for?

disarticulate commented 4 months ago

I think so. Im automating doc processes and want to su other users and it seems to fail if its not root which isvstrange.

On Wed, Apr 17, 2024, 21:54 Socheat Sok @.***> wrote:

The underlying container uses s6-overlay as init system. Since s6-overlay required read/write to rootfs, we only able to drop priv on the subprocess only. Is that what you looking for?

— Reply to this email directly, view it on GitHub https://github.com/libreofficedocker/libreoffice-unoserver/issues/8#issuecomment-2062901069, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEFHWPNTAH5ZCJ6C7VAB46TY54YVPAVCNFSM6AAAAABFHRYPBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRSHEYDCMBWHE . You are receiving this because you authored the thread.Message ID: @.***>

socheatsok78 commented 4 months ago

I'm not sure if I understand correct but could you give some example? Are you process these docs through the REST API or via unoconvert cli?