Skip to content

Can't get UMASK working #19

@emilb

Description

@emilb

Hi,

just upgraded to the latest coppit/docker-filebot version and it seems something has changed in the handling of umask.

I start the container with docker-compose with the following config:

  filebot:
    image: coppit/filebot
    container_name: filebot
    environment:
      - GROUP_ID=1000
      - USER_ID=1000
      - UMASK=0022
    volumes:
      - /data/app-data/filebot:/config:rw
      - /data/ffffff:/input:rw
      - /data/gggg:/output:rw
    restart: unless-stopped

I've also added this to the end of my filebot.conf:

UMASK=0022
USER_ID=1000
GROUP_ID=1000

But when starting I see in the logs:

[2017-12-18 13:27:48] FileBot: CONFIGURATION:
[2017-12-18 13:27:48] FileBot:       WATCH_DIR=/input
[2017-12-18 13:27:48] FileBot: SETTLE_DURATION=10
[2017-12-18 13:27:48] FileBot:   MAX_WAIT_TIME=60
[2017-12-18 13:27:48] FileBot:      MIN_PERIOD=120
[2017-12-18 13:27:48] FileBot:         COMMAND=bash /files/filebot.sh
[2017-12-18 13:27:48] FileBot:         USER_ID=1000
[2017-12-18 13:27:48] FileBot:        GROUP_ID=1000
[2017-12-18 13:27:48] FileBot:           UMASK=0000
[2017-12-18 13:27:48] FileBot:           DEBUG=False
[2017-12-18 13:27:48] FileBot: IGNORE_EVENTS_WHILE_COMMAND_IS_RUNNING=False
[2017-12-18 13:27:48] FileBot: Starting monitor for FileBot
[2017-12-18 13:27:48] FileBot: Waiting for new change

It is a bit annoying because folder permissions are now 777 and files are 666. Anyone know how to fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions