From 61137b60d60363bb54b65a656b202179528dd294 Mon Sep 17 00:00:00 2001 From: Erez Zadok Date: Thu, 29 Nov 2007 03:09:23 -0500 Subject: [PATCH] chgrp to 0 also subdirs under /odf/ns --- scaffold | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scaffold b/scaffold index fb929de..a3db2a9 100644 --- a/scaffold +++ b/scaffold @@ -127,6 +127,7 @@ function create_hierarchy { elif [ ! -z "$WH" ]; then if [ "$ODF" -eq "1" ]; then mkdir -p `dirname $ODF_DIR"/ns/"$NAME` || exit $? + chgrp 0 `dirname $ODF_DIR/ns/$NAME` || exit $? ln $ODF_DIR/whiteout $ODF_DIR"/ns/"$NAME else wh_abs_path=$WH_LOC"/"$NAME @@ -139,6 +140,7 @@ function create_hierarchy { if [ "$ODF" -eq "1" ]; then if [ ! -d $ODF_DIR/ns/$NAME ]; then mkdir -p $ODF_DIR"/ns/"$NAME || exit $? + chgrp 0 $ODF_DIR/ns/$NAME || exit $? fi branch_id=$(./progs/get_branch_id $ODF_DIR/sb $OPQ_LOC) branch_id=`expr $branch_id + 1`; -- 2.43.0