Jump to content

Files downloaded by docker compose (non-Community Apps) have read only permissions


Go to solution Solved by MikaelTarquin,

Recommended Posts

I'm not very experienced with manually adding docker containers via compose, so forgive me if this is the wrong place to ask. I was able to successfully add openbooks to my Unraid server via docker compose, but for some reason all the files it downloads come in with r-- read only permissions. I naively tried adding the PUID=99, PGID=100, and UMASK=002 lines to the environment section, thinking that might help, but no luck. Is what I am trying to do not possible?

version: '3.3'
services:
    openbooks:
        ports:
            - '8585:80'
        volumes:
            - '/mnt/user/data/downloads:/books'
        restart: unless-stopped
        container_name: OpenBooks
        command: --name <username> --persist
        environment:
          - BASE_PATH=/openbooks/
          - PUID=99
          - PGID=100
          - UMASK=002
        image: evanbuss/openbooks:latest

volumes:
    booksVolume:

 

Link to comment
  • Solution

Never mind! Was able to fix it by using the following docker compose:

version: '3.3'
services:
    openbooks:
        container_name: OpenBooks
        image: evanbuss/openbooks:latest
        ports:
            - "8585:80"
        volumes:
            - '/mnt/user/data/media/eBooks/to_import:/books'
        command: --name my_irc_name --persist --no-browser-downloads
        restart: unless-stopped
        environment:
          - BASE_PATH=/openbooks/
        user: "99:100"
volumes:
    booksVolume:

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...