Hello, > + actual="$(ls -l .git/info/refs)" && > + case "$actual" in > + -r--r--r--*) > + : happy > + ;; > + *) > + echo Oops, .git/info/refs is not 0444 > + false > + ;; > + esac Don't know if this matters here, but a while ago I learnd that if I really need to parse output of ls -l, then I should set LANG=C and LC_ALL=C. I didn't see any breakage when LS_COLORS is set, but maybe you want to reset that, too? Best regards Uwe -- Uwe Kleine-König http://www.google.com/search?q=2004+in+roman+numerals - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html