Skip to content

Commit

Permalink
groupshared: Add support to release_feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rkdarst committed Jul 19, 2019
1 parent f11430d commit 5eaf1e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nbgrader/exchange/release_feedback.py
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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):
Expand Down

0 comments on commit 5eaf1e0

Please sign in to comment.