My mistake: I hadn't changed the tbd:location path and also mounted a
different folder than /fuseki/databases.

But that doesn't solve the problem still because apparently the
mounted folder gets permissions from the host filesystem and is
therefore owned by root, and the fuseki user does not have access to
it.
If I don't mount the folder, the container starts fine and I see that
/fuseki/databases is owned by fuseki.

I see chown -R fuseki ${FUSEKI_DIR} in the Dockerfile but that does
not seem to help. I guess I need to dive into StackOverflow.

On Fri, Sep 10, 2021 at 12:42 AM Martynas Jusevičius
<marty...@atomgraph.com> wrote:
>
> Hi,
>
> I've replaced our own Fuseki Docker setup with the one from
> jena-fuseki-docker. The files are here:
> https://github.com/AtomGraph/fuseki-docker/tree/official-dockerfile
>
> However when I build the image and use it in an existing
> docker-compose setup, I get the error "java.io.IOException: Permission
> denied" and Fuseki container quits.
>
> Any idea on how I should start debugging this? I suspect this has to
> do with missing permissions for the non-privileged user.
> I tried rootLogger.level = DEBUG in log4j2.properties, but that did
> not print any more output.
>
> Martynas

Reply via email to