inara icon indicating copy to clipboard operation
inara copied to clipboard

mkdir: can't create directory 'jats': Permission denied

Open maifeeulasad opened this issue 2 months ago • 1 comments

I'm trying to build PDF with this:

docker run --rm \
    --volume $PWD:/data \
    --user $(id -u):$(id -g) \
    --env JOURNAL=joss \
    openjournals/inara

But I am getting error saying: mkdir: can't create directory 'jats': Permission denied

complete log:

$ docker run --rm \
    --volume $PWD:/data \
    --user $(id -u):$(id -g) \
    --env JOURNAL=joss \
    openjournals/inara
Unable to find image 'openjournals/inara:latest' locally
latest: Pulling from openjournals/inara
861950bce9fa: Pull complete 
170f17e8a86b: Pull complete 
985f65c1e06a: Pull complete 
cf2a9dac9c90: Pull complete 
e7243093be5a: Pull complete 
ef2b88424954: Pull complete 
8befa1bb9e69: Pull complete 
dbb46982141a: Pull complete 
234e5aaee0ef: Pull complete 
679040c0089d: Pull complete 
703883dfb816: Pull complete 
4f4fb700ef54: Pull complete 
f98c93fe16af: Pull complete 
21d4de5ce113: Pull complete 
a6f66bed49f2: Pull complete 
14c29ac6ffda: Pull complete 
88f25259a43c: Pull complete 
621ac530404a: Pull complete 
d8b49ee27305: Pull complete 
Digest: sha256:15e7b5f9754567aabbc97b157c0f38f7aeda15ad43ac0ffc5e3620a35223d71b
Status: Downloaded newer image for openjournals/inara:latest
mkdir: can't create directory 'jats': Permission denied

maifeeulasad avatar Nov 01 '25 06:11 maifeeulasad

I was able to get this working in Podman by changing the command to

podman run --rm \
    --volume $PWD:/data \
    --env JOURNAL=joss \
    docker.io/openjournals/inara

Evidlo avatar Nov 09 '25 23:11 Evidlo