From: Chris Koeritz Date: Fri, 25 Jan 2019 08:49:46 +0000 (-0500) Subject: matching links in /z/ now too X-Git-Tag: 2.140.115^2~53 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=b0e476607f9351321dde17c3f96dd2e5859cf1ce;p=feisty_meow.git matching links in /z/ now too --- diff --git a/scripts/security/cool_permissionator.sh b/scripts/security/cool_permissionator.sh index ab5e850b..c6f9bd86 100644 --- a/scripts/security/cool_permissionator.sh +++ b/scripts/security/cool_permissionator.sh @@ -51,7 +51,7 @@ function reapply_cool_permissions() /usr/local/${cooluser} \ /home/games \ $arch_addin; do - if [ -d "$dirname" ]; then + if [ -d "$dirname" -o -L "$dirname" ]; then echo "revising ownership on '$dirname'" sudo chown -R ${cooluser}:${cooluser} "$dirname" continue_on_error "chowning for ${cooluser}: $dirname"