fixed perms a bit more
authorChris Koeritz <fred@gruntose.com>
Tue, 7 Nov 2017 23:06:15 +0000 (23:06 +0000)
committerChris Koeritz <fred@gruntose.com>
Tue, 7 Nov 2017 23:06:15 +0000 (23:06 +0000)
scripts/customize/fred/refred.sh

index 13298710897c311f5f25a4ddc4fd9471912f725e..b04be4b5989fa7e61b4e40e50448afd6e6300099 100644 (file)
@@ -25,8 +25,8 @@ function refred()
 
   # special case for archives directory.
   if [ -d /z/stuffing -o -L /z/stuffing ]; then
-    chmod g+rx /z
-    chmod g+rwx /z/stuffing
+    chmod g+rx,o+rx /z
+    chmod g+rx,o-rwx /z/stuffing
     pushd /z/stuffing &>/dev/null
     if [ -d archives -o -L archives ]; then group_perm archives; fi
     popd &>/dev/null