From ce10babcb8d07587e9bf95496e22e9b4e801f207 Mon Sep 17 00:00:00 2001 From: pcanterino <> Date: Sat, 23 Jul 2005 11:52:16 +0000 Subject: [PATCH] Changing the mode of inaccessible directories works again --- modules/Tool.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Tool.pm b/modules/Tool.pm index d9a20f7..3ef4a10 100644 --- a/modules/Tool.pm +++ b/modules/Tool.pm @@ -6,7 +6,7 @@ package Tool; # Some shared sub routines # # Author: Patrick Canterino -# Last modified: 2005-06-10 +# Last modified: 2005-07-23 # use strict; @@ -69,7 +69,7 @@ sub check_path($$) my $last = file_name($path); - if(-d $first.'/'.$last && not -l $first.'/'.$last) + if(-d $first.'/'.$last && (not -l $first.'/'.$last) && -r $first.'/'.$last && -x $first.'/'.$last) { $first = abs_path($first.'/'.$last); $last = ''; -- 2.34.1