From c245d36e44bf6ee559352bcaef726ca4def0b96d Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Wed, 8 Jun 2022 17:42:52 -0700 Subject: [PATCH] add PUID and PGID as config options in archivebox --- archivebox/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/archivebox/config.py b/archivebox/config.py index 6cfee837..11b7c926 100644 --- a/archivebox/config.py +++ b/archivebox/config.py @@ -65,6 +65,8 @@ CONFIG_SCHEMA: Dict[str, ConfigDefaultDict] = { 'USE_COLOR': {'type': bool, 'default': lambda c: c['IS_TTY']}, 'SHOW_PROGRESS': {'type': bool, 'default': lambda c: (c['IS_TTY'] and platform.system() != 'Darwin')}, # progress bars are buggy on mac, disable for now 'IN_DOCKER': {'type': bool, 'default': False}, + 'PUID': {'type': int, 'default': os.getuid()}, + 'PGID': {'type': int, 'default': os.getgid()}, # TODO: 'SHOW_HINTS': {'type: bool, 'default': True}, },