From 5eaf1e079cc0b36a432756f07240d896433c5da4 Mon Sep 17 00:00:00 2001 From: Richard Darst Date: Fri, 19 Jul 2019 16:25:39 +0300 Subject: [PATCH] groupshared: Add support to release_feedback --- nbgrader/exchange/release_feedback.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nbgrader/exchange/release_feedback.py b/nbgrader/exchange/release_feedback.py index 13403f227..2fe300be6 100644 --- a/nbgrader/exchange/release_feedback.py +++ b/nbgrader/exchange/release_feedback.py @@ -1,7 +1,7 @@ import os import shutil import glob -from stat import S_IRUSR, S_IWUSR, S_IXUSR, S_IXGRP, S_IXOTH +from stat import S_IRUSR, S_IWUSR, S_IXUSR, S_IRGRP, S_IWGRP, S_IXGRP, S_IXOTH, S_ISGID from .exchange import Exchange from ..utils import notebook_hash @@ -22,7 +22,7 @@ def init_dest(self): # 0755 self.ensure_directory( self.outbound_feedback_path, - S_IRUSR | S_IWUSR | S_IXUSR | S_IXGRP | S_IXOTH + S_IRUSR | S_IWUSR | S_IXUSR | S_IXGRP | S_IXOTH | ((S_IRGRP|S_IWGRP|S_ISGID) if self.coursedir.groupshared else 0) ) def copy_files(self):