From 1988d9c64a6114a0dcdfe07dace67b082eb5fdca Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Fri, 13 Mar 2020 09:16:28 -0700 Subject: [PATCH] markup: chgrp procat_web dirs so apache and celery can r/w --- markup/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/markup/utils.py b/markup/utils.py index 528de8e..698249e 100644 --- a/markup/utils.py +++ b/markup/utils.py @@ -79,12 +79,12 @@ def ensure_dir(dir): if not os.path.exists(dir): os.makedirs(dir) os.chmod(dir, 0o775) - shutil.chown(dir, group='procat') + shutil.chown(dir, group='procat_web') def set_file_perms(file): os.chmod(file, 0o664) - shutil.chown(file, group='procat') + shutil.chown(file, group='procat_web') def clean_path(path):