From b0e476607f9351321dde17c3f96dd2e5859cf1ce Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 25 Jan 2019 03:49:46 -0500 Subject: [PATCH] matching links in /z/ now too --- scripts/security/cool_permissionator.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.34.1