From: Chris Koeritz Date: Fri, 25 Jan 2019 02:05:30 +0000 (-0500) Subject: added second case for /z residents X-Git-Tag: 2.140.115^2~56 X-Git-Url: https://feistymeow.org/gitweb/?p=feisty_meow.git;a=commitdiff_plain;h=d1c574333e2ea024d42c6222ec717a29e2d461ae added second case for /z residents if a directory actually just lived in /z/ before rather than being linked in from /home/archives, the old version of the script would miss it and not do the refred or whatever properly. now it will. --- diff --git a/scripts/security/cool_permissionator.sh b/scripts/security/cool_permissionator.sh index 855511e6..ab5e850b 100644 --- a/scripts/security/cool_permissionator.sh +++ b/scripts/security/cool_permissionator.sh @@ -23,6 +23,14 @@ function reapply_cool_permissions() done #echo arch addin now is: $arch_addin + # now another round with similar setup, to ensure we get any directories + # that actually live out in /z but not in /home/archives. + ARCHIVE_TOP=/z + for dirname in $arch_builder; do + arch_addin+="$ARCHIVE_TOP/$dirname " + done +#echo arch addin now is: $arch_addin + # special case that makes our software hierarchy folder, if it doesn't exist. # everything else is only re-permed if it exists. if [ ! -d "$DEFAULT_FEISTYMEOW_ORG_DIR" ]; then