On 6/14/08, James Turner <[EMAIL PROTECTED]> wrote: > Doesn't it make more sense to do a test, then just redirect error > output?
Then you'd have to test more than your patch does: right now, your patch only tests if we're dealing with a directory; whether or not the user running the script has permission to cd into that directory is not taken in consideration. I agree with the others here that the cd itself is the safest test.
